spec/spec_helper.rb in testdroid-api-client-0.1.3 vs spec/spec_helper.rb in testdroid-api-client-0.2.0

- old
+ new

@@ -24,11 +24,11 @@ @client ||= begin client = Client.new('defaultuser', 'password') rescue Exception => e end end -def client_local_host +def client_local_host(local_cloud='http://localhost:8080/testdroid-cloud') @client_local_host ||= begin - client_local_host = Client.new('admin@localhost', 'admin', 'http://localhost:8080/testdroid-cloud') + client_local_host = Client.new('admin@localhost', 'admin', local_cloud) rescue Exception => e end end