Hello,

Maxim Cournoyer <[email protected]> writes:

> Hello,
>
> The test suite of the ruby-bond package fails with 14 errors like the 
> following:
>
> Mocha::NotInitializedError: Mocha methods cannot be used outside the context 
> of a test
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:9:in 
> `block (3 levels) in <top (required)>': start - prints error if readline 
> doesn't have all required methods
>         
> /gnu/store/9dshwx1qqrdyhsj2galh70g5l427p6f9-ruby-mocha-on-bacon-0.2.3/lib/ruby/vendor_ruby/gems/mocha-on-bacon-0.2.3/lib/mocha-on-bacon.rb:54:in
>  `it'
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:10:in 
> `block (2 levels) in <top (required)>'
>         
> /gnu/store/ch5i4pvyx1mfywpnby5xd7w0qs9qnvsm-ruby-bacon-bits-0.1.0/lib/ruby/vendor_ruby/gems/bacon-bits-0.1.0/lib/bacon/bits.rb:20:in
>  `describe'
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:4:in 
> `block in <top (required)>'
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:3:in 
> `<top (required)>'
>         
> /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in
>  `load'
>         
> /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in
>         `<top (required)>
>
> 230 tests, 476 assertions, 0 failures, 14 errors
>
> Tested with commit 8fdd0da49c81366a2061da35739cede3df107e15, but occurs
> on master as well.
>
> Maxim

Mitigated in commit 18a29cb361.

Closing,

Maxim



Reply via email to