Sha256: 6863cbfae7d7b7420c9abea7cdd3ebbe70bfdbbbad1023f0b5867344791a302c

Contents?: true

Size: 143 Bytes

Versions: 97

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

97 entries across 97 versions & 1 rubygems

Version Path
serverspec-0.7.6 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.7.5 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.7.4 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.7.3 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.7.2 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.7.1 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.7.0 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.30 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.29 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.28 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.27 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.26 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.25 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.24 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.23 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.22 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.21 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.20 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.19 lib/serverspec/matchers/be_resolvable.rb
serverspec-0.6.18 lib/serverspec/matchers/be_resolvable.rb