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.12.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.11.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.10.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.10.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.10.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.9.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.9.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.8.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.8.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.8.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.7.2 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.7.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.7.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.6.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.5.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.4.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.3.1 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.3.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-2.2.0 lib/serverspec/matcher/be_resolvable.rb
serverspec-clc-2.1.0 lib/serverspec/matcher/be_resolvable.rb