tests/openstack/models/identity/ec2_credentials_tests.rb in fog-openstack-0.1.5 vs tests/openstack/models/identity/ec2_credentials_tests.rb in fog-openstack-0.1.6

- old
+ new

@@ -1,7 +1,7 @@ Shindo.tests("Fog::Identity[:openstack] | ec2_credentials", ['openstack']) do before do - openstack = Fog::Identity[:openstack] + openstack = Fog::Identity::OpenStack.new(:openstack_auth_url => 'http://openstack:35357/v2.0/tokens') tenant_id = openstack.list_tenants.body['tenants'].first['id'] @user = openstack.users.find { |user| user.name == 'foobar' } @user ||= openstack.users.create({ :name => 'foobar',