Sha256: 262b9cf18b078292737e150895551a212aa30dc623f0f04fd18cfe1cb1c2d7fe

Contents?: true

Size: 143 Bytes

Versions: 124

Compression:

Stored size: 143 Bytes

Contents

RSpec::Matchers.define :be_resolvable do
  match do |name|
    name.resolvable?(@type)
  end

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

Version data entries

124 entries across 124 versions & 4 rubygems

Version Path
serverspec-2.42.3 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.42.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.42.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.42.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.8 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.7 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.6 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.5 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.4 lib/serverspec/matcher/be_resolvable.rb
serverspec-ruby19-2.24.3 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.3 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.41.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.40.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.39.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.39.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.39.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.38.1 lib/serverspec/matcher/be_resolvable.rb