Skip to content

Commit

Permalink
Server is responding differently, updating the spec
Browse files Browse the repository at this point in the history
The response message was actually "authorization has expired" and not "Authorize has expired"
  • Loading branch information
owyongsk committed Oct 23, 2015
1 parent a66bc55 commit 5af4528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/upyun_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
it "set not correct 'expiration' should return 403 with expired" do
res = @form.upload(@file, {'expiration' => 102400})
expect(res[:code]).to eq(403)
expect(res[:message]).to match(/Authorize has expired/)
expect(res[:message]).to match(/authorization has expired/)
end

it "set 'return-url' should return a hash" do
Expand Down

0 comments on commit 5af4528

Please sign in to comment.