Source: ruby-slack-notifier
Version: 1.5.1-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@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-slack-notifier failed to build.

Relevant part of the build log (hopefully):
>      Failure/Error: client.post endpoint, params
> 
>        #<Double "CustomClient"> received :post with unexpected arguments
>          expected: (#<InstanceDouble(URI::HTTP) (anonymous)>, 
> {:payload=>"{\"text\":\"the message\"}"}) (keyword arguments)
>               got: (#<InstanceDouble(URI::HTTP) (anonymous)>, 
> {:payload=>"{\"text\":\"the message\"}"}) (options hash)
>      # ./lib/slack-notifier.rb:41:in `ping'
>      # ./spec/lib/slack-notifier_spec.rb:137:in `block (4 levels) in <top 
> (required)>'
> 
> Finished in 0.03858 seconds (files took 0.14786 seconds to load)
> 29 examples, 5 failures
> 
> Failed examples:
> 
> rspec ./spec/lib/slack-notifier_spec.rb:49 # Slack::Notifier#ping allows 
> sending only an attachment
> rspec ./spec/lib/slack-notifier_spec.rb:93 # Slack::Notifier#ping with a 
> default channel set uses default channel
> rspec ./spec/lib/slack-notifier_spec.rb:101 # Slack::Notifier#ping with a 
> default channel set allows override channel to be set
> rspec ./spec/lib/slack-notifier_spec.rb:112 # Slack::Notifier#ping with 
> default webhook posts with the correct endpoint & data
> rspec ./spec/lib/slack-notifier_spec.rb:127 # Slack::Notifier#ping with a 
> custom http_client set uses it
> 
> /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

Attachment: ruby-slack-notifier.log.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature

Reply via email to