test/unit/call_spy_tests.rb in much-stub-0.1.3 vs test/unit/call_spy_tests.rb in much-stub-0.1.4

- old
+ new

@@ -2,11 +2,11 @@ require "much-stub/call_spy" require "test/support/factory" class MuchStub::CallSpy - class UnitTests < Assert::Context + class UnitTests < ::Assert::Context desc "MuchStub::CallSpy" setup do @unit_class = MuchStub::CallSpy end end @@ -17,10 +17,10 @@ @spy = @unit_class.new end subject{ @spy } should "spy on method calls and return itself" do - assert_false subject.respond_to?(:get) + assert_true subject.respond_to?(:get) assert_equal [], subject.get_calls assert_nil subject.get_last_called_with assert_nil subject.get_called_with assert_equal 0, subject.get_call_count