spec/archive/authorizer_spec.rb in heirloom-0.12.5 vs spec/archive/authorizer_spec.rb in heirloom-0.12.7
- old
+ new
@@ -37,10 +37,10 @@
s3_acl_double.should_receive(:allow_read_access_from_accounts).
exactly(2).times.
with(:key_name => '123.tar.gz',
:key_folder => 'tim',
:bucket => 'the-bucket',
- :accounts => accounts)
+ :accounts => accounts).and_return true
@authorizer.authorize(:accounts => accounts,
:regions => ['us-west-1', 'us-west-2']).
should be_true
end