class Scenario::UnlinkedApp
Public Class Methods
new(name = 'Unlinked App', email = 'unlinked.app@test.local', pass = 'unlinked')
click to toggle source
Calls superclass method
Scenario::Base::new
# File lib/engineyard-cloud-client/test/fake_awsm/scenarios.rb, line 122 def initialize(name = 'Unlinked App', email = 'unlinked.app@test.local', pass = 'unlinked') super @app = @account.apps.create({ "name" => "rails232app", "repository_uri" => git_remote }) @other = @account.environments.create({ "name" => "chickenwings", "ssh_username" => "ham", "app_server_stack_name" => "nginx_mongrel", "load_balancer_ip_address" => '127.0.0.0', "framework_env" => "production" }) @app_env = @app.app_environments.create(:environment => @other) @env = @account.environments.create({ "name" => "giblets", "ssh_username" => "turkey", "app_server_stack_name" => "nginx_mongrel", "load_balancer_ip_address" => '127.0.0.0', "framework_env" => "production" }) @env.instances.create({ "status" => "running", "amazon_id" => 'i-ddbbdd92', "role" => "solo", "public_hostname" => "ec2-174-129-198-124.compute-1.amazonaws.com" }) end