Permalink
Browse files

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

  • Loading branch information...
Mat Schaffer
Mat Schaffer committed Jul 1, 2009
1 parent 1790f5a commit 2014a23d93fd918d9d72585504473c03a9a3c782
Showing with 0 additions and 10 deletions.
  1. +0 −10 spec/stub_spec.js
View
@@ -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.