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.25.1 lib/awspec/matcher/have_tag.rb
awspec-1.25.0 lib/awspec/matcher/have_tag.rb
awspec-1.24.4 lib/awspec/matcher/have_tag.rb
awspec-1.24.3 lib/awspec/matcher/have_tag.rb
awspec-1.24.2 lib/awspec/matcher/have_tag.rb
awspec-1.24.1 lib/awspec/matcher/have_tag.rb
awspec-1.24.0 lib/awspec/matcher/have_tag.rb
awspec-1.23.0 lib/awspec/matcher/have_tag.rb
awspec-1.22.1 lib/awspec/matcher/have_tag.rb
awspec-1.22.0 lib/awspec/matcher/have_tag.rb
awspec-1.21.1 lib/awspec/matcher/have_tag.rb
awspec-1.21.0 lib/awspec/matcher/have_tag.rb
awspec-1.20.0 lib/awspec/matcher/have_tag.rb
awspec-1.19.2 lib/awspec/matcher/have_tag.rb
awspec-1.19.1 lib/awspec/matcher/have_tag.rb
awspec-1.19.0 lib/awspec/matcher/have_tag.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/have_tag.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/have_tag.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/have_tag.rb
awspec-1.18.6 lib/awspec/matcher/have_tag.rb