Skip to content

Commit

Permalink
updated failing specs, issue was introduced during refactoring of test
Browse files Browse the repository at this point in the history
  • Loading branch information
Akeem Adeniji committed Apr 20, 2010
1 parent f641c37 commit 5cc8248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mapper_proxy_spec.rb
Expand Up @@ -191,7 +191,7 @@
before do
@response = mock("Response")
@response.should_receive(:token).and_return("test_token")
@response.should_receive(:results).and_return({:payload => ['nanite', 'eventmachine', 'rabbitmq']})
@response.should_receive(:results).twice.and_return({:payload => ['nanite', 'eventmachine', 'rabbitmq']})
result_handler = lambda {}
@fanout.stub!(:fanout)
@instance.pending_requests["test_token"] = {:result_handler => Proc.new{ @response.results} }
Expand All @@ -206,7 +206,7 @@
before do
@response = mock("Response")
@response.should_receive(:token).and_return("test_token_2")
@response.should_receive(:results).and_return({:payload => ['nanite', 'eventmachine', 'rabbitmq']})
@response.should_receive(:results).twice.and_return({:payload => ['nanite', 'eventmachine', 'rabbitmq']})
result_handler = lambda {}
@fanout.stub!(:fanout)

Expand Down

0 comments on commit 5cc8248

Please sign in to comment.