public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-rspec-rails] rawhide: Skip failing tests which is removed with the upstream PR
Date: Thu, 12 Nov 2026 05:37:39 GMT	[thread overview]
Message-ID: <179446185983.1.14115750165985317855.rpms-rubygem-rspec-rails-5cc298f644e0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-12  5:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179446185983.1.14115750165985317855.rpms-rubygem-rspec-rails-5cc298f644e0@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox