Skip to content

Commit

Permalink
make stub order-independent
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Oct 20, 2011
1 parent fdfc954 commit 236aae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/heroku/client_spec.rb
Expand Up @@ -197,7 +197,7 @@

describe "ps_scale" do
it "scales a process and returns the new count" do
stub_api_request(:post, "/apps/myapp/ps/scale").with(:body => "type=web&qty=5").to_return(:body => "5")
stub_api_request(:post, "/apps/myapp/ps/scale").with(:body => { :type => "web", :qty => "5" }).to_return(:body => "5")
@client.ps_scale("myapp", :type => "web", :qty => "5").should == 5
end
end
Expand Down

0 comments on commit 236aae4

Please sign in to comment.