spec/spec_helper.rb in engineyard-metadata-0.0.5 vs spec/spec_helper.rb in engineyard-metadata-0.0.6

- old
+ new

@@ -7,13 +7,13 @@ require 'fakefs/safe' PRESENT_PUBLIC_HOSTNAME = 'app_master.compute-1.amazonaws.com' PRESENT_SECURITY_GROUP = 'ey-data1_production-1-2-3' PRESENT_INSTANCE_ID = 'i-deadbeef' -REPOSITORY_URI = 'FAKE_REPOSITORY_URI' +FAKE_CLOUD_TOKEN = 'FAKE_EY_CLOUD_TOKEN' +FAKE_ENVIRONMENT_NAME = 'FAKE_ENVIRONMENT_NAME' def pretend_we_are_on_a_developer_machine - ENV['REPOSITORY_URI'] = REPOSITORY_URI FakeWeb.allow_net_connect = false FakeWeb.register_uri :get, "https://cloud.engineyard.com/api/v2/environments", :status => ["200", "OK"], :body => File.read(File.join(File.dirname(__FILE__), 'support', 'engine_yard_cloud_api_response.json'))