Sha256: 32edf0b57848f81669fefcca184983d316ea2d0f8bb3ca0b690f6bc4a4c847d6

Contents?: true

Size: 219 Bytes

Versions: 46

Compression:

Stored size: 219 Bytes

Contents

RSpec::Matchers.define :have_tag do |key|
  match do |type|
    type.has_tag?(key, @value)
  end

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

  description do
    "have tag \"#{key}\" value \"#{@value}\""
  end
end

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
awspec-1.15.1 lib/awspec/matcher/have_tag.rb
awspec-1.15.0 lib/awspec/matcher/have_tag.rb
awspec-1.14.1 lib/awspec/matcher/have_tag.rb
awspec-1.14.0 lib/awspec/matcher/have_tag.rb
awspec-1.13.0 lib/awspec/matcher/have_tag.rb
awspec-1.12.7 lib/awspec/matcher/have_tag.rb