test/unit/assertions_tests.rb in assert-2.18.3 vs test/unit/assertions_tests.rb in assert-2.18.4
- old
+ new
@@ -4,14 +4,13 @@
module Assert::Assertions
class UnitTests < Assert::Context
include Assert::Test::TestHelpers
desc "Assert::Context"
- subject { context1 }
+ subject { context_class1.new(test1, test1.config, proc { |r| }) }
let(:context_class1) { Factory.modes_off_context_class }
let(:test1) { Factory.test }
- let(:context1) { context_class1.new(test1, test1.config, proc { |r| }) }
should have_imeths :assert_block, :assert_not_block, :refute_block
should have_imeths :assert_raises, :assert_not_raises
should have_imeths :assert_raise, :assert_not_raise, :assert_nothing_raised
should have_imeths :assert_kind_of, :assert_not_kind_of, :refute_kind_of