Sha256: 83e61b311d35b3439b5f236ec1bc9d7b545a1bcf8b16490937c40432ca21f48e

Contents?: true

Size: 282 Bytes

Versions: 26

Compression:

Stored size: 282 Bytes

Contents

class MockStartCommand
  attr_reader :started_apps
  attr_accessor :input

  def initialize
    @started_apps = []
  end

  def start
    raise 'If you wanna test using :all, you implement it!' if input[:all]
    @started_apps = input[:apps]
  end

  def run(_)
    start
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
cf-5.4.7 spec/support/mock_commands/mock_start.rb
cf-5.4.7.rc1 spec/support/mock_commands/mock_start.rb
cf-5.4.5 spec/support/mock_commands/mock_start.rb
cf-5.4.4 spec/support/mock_commands/mock_start.rb
trucker-cli-0.0.3 spec/support/mock_commands/mock_start.rb
cf-5.4.3 spec/support/mock_commands/mock_start.rb
cf-5.4.2 spec/support/mock_commands/mock_start.rb
trucker-cli-0.0.2 spec/support/mock_commands/mock_start.rb
trucker-cli-0.0.1 spec/support/mock_commands/mock_start.rb
cf-5.4.1 spec/support/mock_commands/mock_start.rb
cf-5.4.1.rc1 spec/support/mock_commands/mock_start.rb
cf-5.4.0 spec/support/mock_commands/mock_start.rb
cf-5.3.1 spec/support/mock_commands/mock_start.rb
cf-5.3.0 spec/support/mock_commands/mock_start.rb
cf-5.2.2 spec/support/mock_commands/mock_start.rb
cf-5.2.1.rc15 spec/support/mock_commands/mock_start.rb
cf-5.2.1.rc14 spec/support/mock_commands/mock_start.rb
cf-5.2.1.rc13 spec/support/mock_commands/mock_start.rb
cf-5.2.1.rc12 spec/support/mock_commands/mock_start.rb
cf-5.2.1.rc11 spec/support/mock_commands/mock_start.rb