[DRE-maint] Bug#1027083: ruby-notiffany: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: expect(foo_object).to receive(:notify).with("Hello", foo: "bar")
Antonio Terceiro
terceiro at debian.org
Tue Dec 27 15:47:59 GMT 2022
Source: ruby-notiffany
Version: 0.1.3-3
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby-rspec-3.12
Hi,
I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
ruby-notiffany failed to build.
Relevant part of the build log (hopefully):
> Failure/Error: expect(foo_object).to receive(:notify).with("Hello", foo: "bar")
>
> #<InstanceDouble(Notiffany::Notifier::Tmux) (anonymous)> received :notify with unexpected arguments
> expected: ("Hello", {:foo=>"bar"}) (keyword arguments)
> got: ("Hello", {:foo=>"bar"}) (options hash)
> # ./spec/lib/notiffany/notifier_spec.rb:336:in `block (6 levels) in <module:Notiffany>'
>
> Finished in 0.25327 seconds (files took 0.16632 seconds to load)
> 183 examples, 17 failures, 2 pending
>
> Failed examples:
>
> rspec ./spec/lib/notiffany/notifier/terminal_notifier_spec.rb:67 # Notiffany::Notifier::TerminalNotifier#notify should allow the title to be customized
> rspec ./spec/lib/notiffany/notifier/terminal_notifier_spec.rb:57 # Notiffany::Notifier::TerminalNotifier#notify should call the notifier.
> rspec ./spec/lib/notiffany/notifier/terminal_notifier_spec.rb:78 # Notiffany::Notifier::TerminalNotifier#notify without a title set should show the app name in the title
> rspec ./spec/lib/notiffany/notifier/terminal_notifier_spec.rb:45 # Notiffany::Notifier::TerminalNotifier#notify with options passed at initialization overwrites object options with passed options
> rspec ./spec/lib/notiffany/notifier/terminal_notifier_spec.rb:38 # Notiffany::Notifier::TerminalNotifier#notify with options passed at initialization uses these options by default
> rspec ./spec/lib/notiffany/notifier/rb_notifu_spec.rb:80 # Notiffany::Notifier::Notifu#notify without additional options shows the notification with the default options
> rspec ./spec/lib/notiffany/notifier/rb_notifu_spec.rb:101 # Notiffany::Notifier::Notifu#notify with additional options can override the default options
> rspec ./spec/lib/notiffany/notifier/rb_notifu_spec.rb:40 # Notiffany::Notifier::Notifu#notify with options passed at initialization uses these options by default
> rspec ./spec/lib/notiffany/notifier/detected_spec.rb:112 # Notiffany::Notifier::Detected#add with manually configured notifiers when not available shows a warning
> rspec ./spec/lib/notiffany/notifier/detected_spec.rb:103 # Notiffany::Notifier::Detected#add with manually configured notifiers when not available does not add the library
> rspec ./spec/lib/notiffany/notifier/detected_spec.rb:108 # Notiffany::Notifier::Detected#add with manually configured notifiers when not available does not raise an error
> rspec ./spec/lib/notiffany/notifier/growl_spec.rb:144 # Notiffany::Notifier::Growl#notify with options Growl cannot handle passes options only Growl can handle
> rspec ./spec/lib/notiffany/notifier_spec.rb:182 # Notiffany::Notifier#initialize with custom notifier config when connected when enabled when supported when available adds the notifier to the notifications
> rspec ./spec/lib/notiffany/notifier_spec.rb:145 # Notiffany::Notifier#initialize with custom notifier config when not connected when enabled when supported when available adds the notifier to the notifications
> rspec ./spec/lib/notiffany/notifier_spec.rb:360 # Notiffany::Notifier.notify with multiple notifiers when connected when enabled sends notifications
> rspec ./spec/lib/notiffany/notifier_spec.rb:368 # Notiffany::Notifier.notify with multiple notifiers when connected when enabled when a child process sends notifications
> rspec ./spec/lib/notiffany/notifier_spec.rb:335 # Notiffany::Notifier.notify with multiple notifiers when not connected when a child process sends notifications
>
> Randomized with seed 32791
>
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed:
The full build log is attached.
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-notiffany.log.gz
Type: application/gzip
Size: 19119 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/982a2753/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/982a2753/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list