Sha256: f410bece4e7a92a7a38ac646d26e848e457b4613e20ed8fba8677ad959bc7dd7

Contents?: true

Size: 245 Bytes

Versions: 20

Compression:

Stored size: 245 Bytes

Contents

class StubApp < OpenStruct
  def vhosts
    services.map(&:vhosts).flatten
  end
end

Fabricator(:app, from: :stub_app) do
  handle 'hello'
  status 'provisioned'
  account
  services { [] }

  after_create { |app| app.account.apps << app }
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
aptible-cli-0.13.0 spec/fabricators/app_fabricator.rb
aptible-cli-0.12.0 spec/fabricators/app_fabricator.rb
aptible-cli-0.11.2 spec/fabricators/app_fabricator.rb
aptible-cli-0.11.1 spec/fabricators/app_fabricator.rb
aptible-cli-0.11.0 spec/fabricators/app_fabricator.rb
aptible-cli-0.10.0 spec/fabricators/app_fabricator.rb
aptible-cli-0.9.0 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.6 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.5 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.4 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.3 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.2 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.1 spec/fabricators/app_fabricator.rb
aptible-cli-0.8.0 spec/fabricators/app_fabricator.rb
aptible-cli-0.7.5 spec/fabricators/app_fabricator.rb
aptible-cli-0.7.4 spec/fabricators/app_fabricator.rb
aptible-cli-0.7.3 spec/fabricators/app_fabricator.rb
aptible-cli-0.7.2 spec/fabricators/app_fabricator.rb
aptible-cli-0.7.1 spec/fabricators/app_fabricator.rb
aptible-cli-0.7.0 spec/fabricators/app_fabricator.rb