spec/spec_helper.rb in testdroid-api-client-0.5.0 vs spec/spec_helper.rb in testdroid-api-client-0.6.0
- old
+ new
@@ -18,16 +18,16 @@
c.allow_http_connections_when_no_cassette = false
end
def client
@client ||= begin
- client = Client.new('defaultuser', 'password')
+ client = ApikeyClient.new('API_KEY')
rescue Exception => e
end
end
def client_local_host(local_cloud='http://localhost/testdroid-cloud')
@client_local_host ||= begin
- client_local_host = Client.new('admin@localhost', 'admin', local_cloud)
+ client_local_host = ApikeyClient.new('API_KEY', local_cloud)
rescue Exception => e
end
end