Sha256: b6244162912e80fb92d7288a4a4a920b6d2ab8b1c6eee7973b5f516ba4e1af7e

Contents?: true

Size: 190 Bytes

Versions: 2

Compression:

Stored size: 190 Bytes

Contents

RSpec::Matchers.define :be_installed_by_gem do
  match do |name|
    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.2 lib/serverspec/matchers/be_installed_by_gem.rb
serverspec-0.2.1 lib/serverspec/matchers/be_installed_by_gem.rb