Sha256: 7b9b2cf53ce7f0408a070e5da6009875b3b5b77f2cf6687464ca2a76069568a7

Contents?: true

Size: 232 Bytes

Versions: 92

Compression:

Stored size: 232 Bytes

Contents

RSpec::Matchers.define :be_installed do
  match do |name|
    name.installed?(@provider, @version)
  end

  chain :by do |provider|
    @provider = provider
  end

  chain :with_version do |version|
    @version = version
  end
end

Version data entries

92 entries across 92 versions & 3 rubygems

Version Path
serverspec-1.7.0 lib/serverspec/matchers/be_installed.rb
serverspec-2.0.0.beta3 lib/serverspec/matchers/be_installed.rb
serverspec-1.6.0 lib/serverspec/matchers/be_installed.rb
serverspec-1.5.0 lib/serverspec/matchers/be_installed.rb
serverspec-2.0.0.beta2 lib/serverspec/matchers/be_installed.rb
serverspec-1.4.2 lib/serverspec/matchers/be_installed.rb
serverspec-2.0.0.beta1 lib/serverspec/matchers/be_installed.rb
serverspec-1.4.1 lib/serverspec/matchers/be_installed.rb
serverspec-1.4.0 lib/serverspec/matchers/be_installed.rb
serverspec-1.3.0 lib/serverspec/matchers/be_installed.rb
serverspec-1.2.0 lib/serverspec/matchers/be_installed.rb
serverspec-1.1.0 lib/serverspec/matchers/be_installed.rb