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.38.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.37.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.37.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.37.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.36.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.36.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.35.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.34.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.33.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.32.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.31.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.31.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.30.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.30.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.29.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.29.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.29.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.28.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.27.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.26.0 lib/serverspec/matcher/be_resolvable.rb