Package: ruby-mocha / 1.1.0-2

Metadata

Package Version Patches format
ruby-mocha 1.1.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
deactivate_failing_tests.patch | (download)

test/acceptance/mocha_test_result_test.rb | 2 1 + 1 - 0 !
test/acceptance/stubba_test_result_test.rb | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 deactivate temporarily failing tests with minitest 5.0.1
 They do not fail with 4.7.4, nor with 5.0.1 installed with gem
 They return /usr/lib/ruby/vendor_ruby/minitest/assertions.rb:129 instead of the
 respective actual position of failure.
privacy_breach.patch | (download)

README.md | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 remove call to external elements in readme, which, once converted
 to HTML, can cause privacy breach
ruby22_nil_frozen.patch | (download)

test/acceptance/stubbing_nil_test.rb | 68 35 + 33 - 0 !
1 file changed, 35 insertions(+), 33 deletions(-)

 as of ruby v2.2, nil is frozen so these tests are irrelevant.
 In all these scenarios in the latest versions of Ruby, a `Mocha::StubbingError`
 will be raised with the message: "can't stub method on frozen object: nil".
 .
 This behaviour is already tested in the more generic `StubbingFrozenObjectTest`
 and so it's safe to ignore these tests for the relevant versions of Ruby.