Skip to content

Instantly share code, notes, and snippets.

@cilquirm
Created September 7, 2012 18:20
Show Gist options
  • Save cilquirm/3668337 to your computer and use it in GitHub Desktop.
Save cilquirm/3668337 to your computer and use it in GitHub Desktop.
And I press "Save" # features/step_definitions/web_steps.rb:52
Expected(200) <=> Actual(403 Forbidden)
request => {:ssl_verify_peer=>true, :connect_timeout=>60, :scheme=>"https", :instrumentor_name=>"excon", :port=>"443", :write_timeout=>60, :ssl_ca_file=>"/Users/aadid/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/excon-0.13.4/data/cacert.pem", :mock=>false, :host=>"peer-development.s3.amazonaws.com", :retry_limit=>4, :query=>nil, :path=>"/reward_logos%2Flogos%2F98%2Foriginal%2Freward-64.png", :headers=>{"Authorization"=>"AWS S3_ACCESS_KEY_HERE:oAxZyFtVhguSpadu6ZMZXWcEhEE=", "x-amz-acl"=>"public-read", "Date"=>"Fri, 07 Sep 2012 18:18:21 +0000", "Content-Type"=>"image/png", "Content-Length"=>2268, "Host"=>"peer-development.s3.amazonaws.com:443"}, :method=>"PUT", :read_timeout=>60, :idempotent=>true, :expects=>200, :body=>#<File:/Users/aadid/Workspaces/efficiency20/peer/public/uploads/tmp/20120907-1118-29366-0915/reward-64.png>}
response => #<Excon::Response:0x11437e8e8 @body="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><RequestId>B85B98CD68269533</RequestId><HostId>75pw8t+vCF+JCRrORPdgsb35w0AXtrWC705DUQac2MFQD54A173gY90LL/x33SY/</HostId><AWSAccessKeyId>S3_ACCESS_KEY_HERE</AWSAccessKeyId></Error>", @headers={"x-amz-id-2"=>"75pw8t+vCF+JCRrORPdgsb35w0AXtrWC705DUQac2MFQD54A173gY90LL/x33SY/", "Transfer-Encoding"=>"chunked", "Date"=>"Fri, 07 Sep 2012 18:18:28 GMT", "Content-Type"=>"application/xml", "x-amz-request-id"=>"B85B98CD68269533", "Server"=>"AmazonS3", "Connection"=>"close"}, @status=403> (Excon::Errors::Forbidden)
./app/models/rewards/reward_creator.rb:8:in `create'
./app/models/rewards/new_reward_form.rb:49:in `save'
./app/controllers/admin/rewards_controller.rb:18:in `create'
./lib/e20/rack/locale.rb:10:in `call'
./lib/e20/rack/program_detector.rb:13:in `call'
./lib/e20/middleware/integration_test/exception_checker.rb:21:in `call'
./lib/e20/rack/campaign_redirecter.rb:25:in `_call'
./lib/e20/rack/campaign_redirecter.rb:13:in `call'
(eval):2:in `send'
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:53:in `/^(?:|I )press "([^"]*)"$/'
features/rewards_administration.feature:28:in `And I press "Save"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment