Skip to content

Commit 5b72e7c

Browse files
committed
Fix cucumber tests with status code
1 parent a350568 commit 5b72e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-sdk-core/features/s3/step_definitions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def create_bucket(options = {})
258258
end
259259

260260
When(/^the response should have a (\d+) status code$/) do |code|
261-
expect(@resp.code).to eq(code)
261+
expect(@resp.code.to_i).to eq(code)
262262
end
263263

264264
Then(/^the object "([^"]*)" should have a "([^"]*)" storage class$/) do |key, sc|

0 commit comments

Comments
 (0)