lib/calabash/android/environment.rb in calabash-2.0.0.pre6 vs lib/calabash/android/environment.rb in calabash-2.0.0.pre9

- old
+ new

@@ -13,9 +13,19 @@ # @!visibility private class InvalidEnvironmentError < RuntimeError; end # @!visibility private class InvalidJavaSDKHome < RuntimeError; end + # A URI that points to the embedded Calabash server in the app under test. + # + # The default value is 'http://localhost:34777'. + # + # You can control the value of this variable by setting the `CAL_ENDPOINT` + # variable. + # + # @todo Maybe rename this to CAL_SERVER_URL or CAL_SERVER? + DEVICE_ENDPOINT = URI.parse((variable('CAL_ENDPOINT') || 'http://127.0.0.1:34777')) + private def self.set_android_dependencies(android_dependencies) @@android_dependencies = android_dependencies end