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-4.1.0 spec/lib/apps_spec.rb
ufo-4.0.3 spec/lib/apps_spec.rb
ufo-4.0.2 spec/lib/apps_spec.rb
ufo-4.0.1 spec/lib/apps_spec.rb
ufo-4.0.0 spec/lib/apps_spec.rb