class Scenario::LinkedAppNotRunning

Public Class Methods

new(name = 'Linked App Not Running', email = 'linked.app.not.running@test.local', pass = 'linked.stopped') click to toggle source
Calls superclass method Scenario::Base::new
# File lib/engineyard-cloud-client/test/fake_awsm/scenarios.rb, line 157
def initialize(name = 'Linked App Not Running', email = 'linked.app.not.running@test.local', 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