Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Holtz committed Jul 31, 2017
1 parent e7a5f39 commit 5d151de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/s3_action_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Fastlane::FastFile.new.parse("lane :test do
aws_s3({})
end").runner.execute(:test)
end.to raise_error("No S3 access key given, pass using `access_key: 'key'`")
end.to raise_error("No S3 access key given, pass using `access_key: 'key'` (or use `aws_profile: 'profile'`)")
end

it "raise an error if no S3 secret access key was given" do
Expand All @@ -24,7 +24,7 @@
access_key: 'access_key'
})
end").runner.execute(:test)
end.to raise_error("No S3 secret access key given, pass using `secret_access_key: 'secret key'`")
end.to raise_error("No S3 secret access key given, pass using `secret_access_key: 'secret key'` (or use `aws_profile: 'profile'`)")
end

it "raise an error if no S3 bucket was given" do
Expand Down

0 comments on commit 5d151de

Please sign in to comment.