Skip to content

Commit

Permalink
fix rspec deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Oct 23, 2013
1 parent 8dde31c commit 041c3e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/client_spec.rb
Expand Up @@ -42,7 +42,7 @@ def failed(http=nil)
http.response.should match(/Hello/)
EventMachine.stop
}
}.should_not raise_error(ArgumentError)
}.should_not raise_error

}
end
Expand Down
4 changes: 2 additions & 2 deletions spec/multi_spec.rb
Expand Up @@ -37,8 +37,8 @@

describe "#requests" do
it "should return the added requests" do
request1 = stub('request1', :callback => nil, :errback => nil)
request2 = stub('request2', :callback => nil, :errback => nil)
request1 = double('request1', :callback => nil, :errback => nil)
request2 = double('request2', :callback => nil, :errback => nil)

multi.add :a, request1
multi.add :b, request2
Expand Down

0 comments on commit 041c3e9

Please sign in to comment.