Sha256: 10c03a90385d81703805e679b11a141b6be12e166aebbeb4fd9034355e04a056

Contents?: true

Size: 410 Bytes

Versions: 2

Compression:

Stored size: 410 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(name, @version)
  end
  chain :with_version do |version|
    @version = version
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
serverspec-0.2.4 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.3 lib/serverspec/matchers/be_installed_by_gem.rb