spec/groupdocs/storage_spec.rb in groupdocs-1.2.11 vs spec/groupdocs/storage_spec.rb in groupdocs-1.3.0
- old
+ new
@@ -6,10 +6,10 @@
mock_api_server(load_json('storage_info'))
end
it 'accepts access credentials hash' do
lambda do
- described_class.info!(client_id: 'client_id', private_key: 'private_key')
+ described_class.info!(:client_id => 'client_id', :private_key => 'private_key')
end.should_not raise_error(ArgumentError)
end
it 'returns a hash of information' do
described_class.info!.should be_a(Hash)