Sha256: 32db107857c690593c4053371c4bbcd6626657b025e2efdefde06d86a1b80de9

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

RSpec::Matchers.define :have_svcprop do |property|
  match do |svc|
    backend.check_svcprop(svc, property, @value)
  end

  chain :with_value do |value|
    @value = value
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-0.5.8 lib/serverspec/matchers/have_svcprop.rb
serverspec-0.5.7 lib/serverspec/matchers/have_svcprop.rb
serverspec-0.5.6 lib/serverspec/matchers/have_svcprop.rb
serverspec-0.5.5 lib/serverspec/matchers/have_svcprop.rb
serverspec-0.5.4 lib/serverspec/matchers/have_svcprop.rb