sconover / wrong

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail.
MIT License
433 stars 30 forks source link

Need to update MiniTest adapter. #33

Open av-ast opened 11 years ago

av-ast commented 11 years ago

I've tried wrong with the latest minitest version 5.0.6 and it failed.

1) Error: UnitTest#test_assert_true: NoMethodError: undefined method _assertions' for #<UnitTest:0x00000101143ed8> /Users/ava/git/wrong/lib/wrong/adapters/minitest.rb:13:inaver' /Users/ava/git/wrong/lib/wrong/assert.rb:34:in assert' unit_test.rb:6:intest_assert_true'

Since the latest version MiniTest uses assertions instead of _assertions.

Also, this PR will replace the gem source with proper 'https://rubygems.org' and will remove deprecation message.

qblake commented 11 years ago

:+1:

zzet commented 10 years ago

Actual for me too. @sconover can you review?

alexch commented 10 years ago

I'm finally looking into this; unfortunately minitest_test.rb fails -- many times on Minitest 5.2.2, twice on Minitest 5.0.6. I'll have to spend more time digging.

cristibalan commented 10 years ago

@alexch Do you have any WIP related to minitest 5 you could push? I tried looking into it but didn't get far. It would help if the big changes got a starting direction from one of the maintainers tho.