Sha256: 1cc3edb3243fc10474ee52ee985f457faa2c037bccd02a1e8e8cb9883c69ab06

Contents?: true

Size: 468 Bytes

Versions: 45

Compression:

Stored size: 468 Bytes

Contents

describe Ufo::Apps do
  before(:each) do
    create_ufo_project
  end
  let(:apps) do
    Ufo::Apps.new({})
  end

  context "running tasks" do
    let(:describe_tasks_response) do
      JSON.load(IO.read("spec/fixtures/apps/describe_services.json"))
    end
    it "displays info" do
      allow(apps).to receive(:service_info).and_return([
        "demo-web", "task-def", "1", "EC2", "yes"
      ])
      apps.display_info(describe_tasks_response)
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ufo-5.0.7 spec/lib/apps_spec.rb
ufo-5.0.6 spec/lib/apps_spec.rb
ufo-5.0.5 spec/lib/apps_spec.rb
ufo-5.0.4 spec/lib/apps_spec.rb
ufo-5.0.3 spec/lib/apps_spec.rb
ufo-5.0.2 spec/lib/apps_spec.rb
ufo-5.0.1 spec/lib/apps_spec.rb
ufo-5.0.0 spec/lib/apps_spec.rb
ufo-4.6.3 spec/lib/apps_spec.rb
ufo-4.6.2 spec/lib/apps_spec.rb
ufo-4.6.1 spec/lib/apps_spec.rb
ufo-4.6.0 spec/lib/apps_spec.rb
ufo-4.5.11 spec/lib/apps_spec.rb
ufo-4.5.10 spec/lib/apps_spec.rb
ufo-4.5.9 spec/lib/apps_spec.rb
ufo-4.5.8 spec/lib/apps_spec.rb
ufo-4.5.7 spec/lib/apps_spec.rb
ufo-4.5.6 spec/lib/apps_spec.rb
ufo-4.5.5 spec/lib/apps_spec.rb
ufo-4.5.4 spec/lib/apps_spec.rb