Class: Scenario::LinkedAppNotRunning
- Defined in:
- lib/engineyard-cloud-client/test/fake_awsm/scenarios.rb
Overview
UnlinkedApp
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name = 'Linked App Not Running', email = '[email protected]', pass = 'linked.stopped') ⇒ LinkedAppNotRunning
constructor
A new instance of LinkedAppNotRunning.
Constructor Details
#initialize(name = 'Linked App Not Running', email = '[email protected]', pass = 'linked.stopped') ⇒ LinkedAppNotRunning
Returns a new instance of LinkedAppNotRunning.
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/engineyard-cloud-client/test/fake_awsm/scenarios.rb', line 150 def initialize(name = 'Linked App Not Running', email = '[email protected]', pass = 'linked.stopped') super @app = @account.apps.create({ "name" => "rails232app", "repository_uri" => git_remote }) @env = @account.environments.create({ "ssh_username" => "turkey", "instances" => [], "name" => "giblets", "app_server_stack_name" => "nginx_mongrel", "load_balancer_ip_address" => '127.0.0.0', "framework_env" => "production" }) @app.app_environments.create(:environment => @env) end |