Skip to content

Commit 0339f06

Browse files
committed
Set fake AWS credentials and region in test.
1 parent 1564a9c commit 0339f06

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
SimpleCov.start
1212

13+
ENV['AWS_ACCESS_KEY_ID'] = 'test'
14+
ENV['AWS_SECRET_ACCESS_KEY'] = 'test'
15+
ENV['AWS_REGION'] = 'eu-west-1'
16+
1317
require 'sshkit/ec2instanceconnect'
1418
require 'webmock/rspec'
1519

0 commit comments

Comments
 (0)