tests/aws/models/glacier/model_tests.rb in fog-1.22.0 vs tests/aws/models/glacier/model_tests.rb in fog-1.22.1

- old
+ new

@@ -11,11 +11,11 @@ vault = Fog::AWS[:glacier].vaults.create :id => 'Fog-Test-Vault' tests("id is Fog-Test-Vault").returns('Fog-Test-Vault') {vault.id} end tests('all') do - tests('contains vault').returns(true) { Fog::AWS[:glacier].vaults.collect {|vault| vault.id}.include?(vault.id)} + tests('contains vault').returns(true) { Fog::AWS[:glacier].vaults.map {|vault| vault.id}.include?(vault.id)} end tests('destroy') do vault.destroy tests('removes vault').returns(nil) {Fog::AWS[:glacier].vaults.get(vault.id)} @@ -42,6 +42,6 @@ tests("jobs") do tests('all').returns([]) {vault.jobs} end vault.destroy end -end \ No newline at end of file +end