Sha256: 368daaf294b31100df6fb971b16f482fe7e45f7b6536c52e4e3438f50d5d23c9

Contents?: true

Size: 419 Bytes

Versions: 29

Compression:

Stored size: 419 Bytes

Contents

RSpec::Matchers.define :be_installed_by_gem do
  match do |name|
    puts <<EOF

***************************************************
The matcher be_isntalled_by_gem will be depricated.
Please use be_installed.by('gem') instead.
***************************************************

EOF
    backend.check_installed_by_gem(example, name, @version)
  end
  chain :with_version do |version|
    @version = version
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
serverspec-0.4.1 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.4.0 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.3.2 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.3.1 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.3.0 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.28 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.27 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.26 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.25 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.24 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.23 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.22 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.21 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.20 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.19 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.18 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.17 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.16 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.15 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.14 lib/serverspec/matchers/be_installed_by_gem.rb