1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/spec/storage/aws/aws_spec_helper.rb

10 lines
237 B
Ruby

def aws_storage
@storage ||= begin
storage = Fog::Storage::new({
:provider => 'AWS',
:aws_access_key_id => '',
:aws_secret_access_key => ''})
storage.stub(:request) { |hash| hash }
storage
end
end