Skip to content
Browse files

Removed my redundant test case now that I have the fix from @peeja.

  • Loading branch information...
1 parent 1790f5a commit 2014a23d93fd918d9d72585504473c03a9a3c782 Mat Schaffer committed Jun 30, 2009
Showing with 0 additions and 10 deletions.
  1. +0 −10 spec/stub_spec.js
View
10 spec/stub_spec.js
@@ -163,16 +163,6 @@ Screw.Unit(function() {
obj.methodToStub('bar');
expect(originalMethodCalled).to(be_true);
});
-
- it("shouldn't loose track of return values when additional stubs are introduced", function() {
- obj = { firstMethod: function() {},
- secondMethod: function() {} };
- Screw.Stub.shouldReceive(obj, 'firstMethod').withArguments('foo').andReturn('bar');
- Screw.Stub.shouldReceive(obj, 'secondMethod').withArguments('not', 'foo');
-
- expect(obj.firstMethod('foo')).to(equal, 'bar');
- obj.secondMethod('not', 'foo');
- });
});
});
});

0 comments on commit 2014a23

Please sign in to comment.
Something went wrong with that request. Please try again.