public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rubygem-rspec-rails] rawhide: Skip failing tests which is removed with the upstream PR
@ 2026-11-12  5:37 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-11-12  5:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rubygem-rspec-rails
Branch : rawhide
Commit : 5cc298f644e01af46b161ce74e75b663b824fec9
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-11-12T14:37:22+09:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rubygem-rspec-rails/c/5cc298f644e01af46b161ce74e75b663b824fec9?branch=rawhide

Log:
Skip failing tests which is removed with the upstream PR

---
diff --git a/rubygem-rspec-rails-pr2934-skip-matcher-is-wrong-type.patch b/rubygem-rspec-rails-pr2934-skip-matcher-is-wrong-type.patch
new file mode 100644
index 0000000..7648d25
--- /dev/null
+++ b/rubygem-rspec-rails-pr2934-skip-matcher-is-wrong-type.patch
@@ -0,0 +1,11 @@
+--- rspec-rails-8.0.4/spec/rspec/rails/matchers/be_a_new_spec.rb.orig	2026-03-10 21:50:44.000000000 +0900
++++ rspec-rails-8.0.4/spec/rspec/rails/matchers/be_a_new_spec.rb	2026-11-12 14:05:34.493229173 +0900
+@@ -84,7 +84,7 @@
+           end
+ 
+           context "matcher is wrong type" do
+-            it "fails" do
++            it "fails" do skip
+               expect {
+                 expect(record).to be_a_new(record.class).with(
+                   foo: a_hash_including({ no_foo: "foo" }))

diff --git a/rubygem-rspec-rails.spec b/rubygem-rspec-rails.spec
index 0a8a1e9..440be06 100644
--- a/rubygem-rspec-rails.spec
+++ b/rubygem-rspec-rails.spec
@@ -6,7 +6,7 @@
 
 Name: rubygem-%{gem_name}
 Version: 8.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: RSpec for Rails
 License: MIT
 URL: https://github.com/rspec/rspec-rails
@@ -20,6 +20,9 @@ Source1: %{gem_name}-%{version}-tests.tar.gz
 Patch0: rubygem-rspec-rails-8.0.1-Drop-driven-by-selenium.patch
 # https://github.com/rspec/rspec-rails/pull/2866/commits/8e0df8df128121d1e21260dd50de55fb7b068d6e
 Patch1: rubygem-rspec-rails-pr2866-update-specs-for-rails.patch
+# ref: https://github.com/rspec/rspec-rails/pull/2934/
+# "matcher is wrong type fails" test is effectively removed with the above PR
+Patch2: rubygem-rspec-rails-pr2934-skip-matcher-is-wrong-type.patch
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
@@ -57,6 +60,7 @@ Documentation for %{name}.
 cd %{builddir}
 %patch 0 -p1
 %patch 1 -p1
+%patch 2 -p1
 )
 
 %build
@@ -112,6 +116,9 @@ popd
 %doc %{gem_instdir}/README.md
 
 %changelog
+* Thu Nov 12 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 8.0.4-2
+- Skip failing tests which is removed with the upstream PR
+
 * Thu Aug 06 2026 Vít Ondruch <vondruch@redhat.com> - 8.0.4-1
 - Update to rspec-rails 8.0.4.
   Resolves: rhbz#2387797

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12  5:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12  5:37 [rpms/rubygem-rspec-rails] rawhide: Skip failing tests which is removed with the upstream PR Mamoru TASAKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox