Skip to content

Commit

Permalink
- improve spec description
Browse files Browse the repository at this point in the history
  • Loading branch information
gramos committed Mar 26, 2012
1 parent c482798 commit e5dbc98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/lib/hmac_sign_spec.rb
Expand Up @@ -58,7 +58,11 @@
HmacSign.gen_from_uri!(@args).must_equal @pre_generated_sign
end

it "should take params as argument for POST PUT methods" do
it "should take params as argument for POST PUT methods
On POST PUT request the params comes into the body of the request
so we need to add another way to take the params besides the query
string" do

uri = "http://mydomain.com/#{@account_id}/Projects"
@args.merge!(:KeyId => 'test', :secret_key => @secret_key,
:method => 'POST', :url => uri,
Expand Down

0 comments on commit e5dbc98

Please sign in to comment.