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
cthiesfork-awspec-1.2.2 lib/awspec/matcher/have_tag.rb
cthiesfork-awspec-1.2.1 lib/awspec/matcher/have_tag.rb
awspec-1.18.5 lib/awspec/matcher/have_tag.rb
cthiesfork-awspec-1.2.0 lib/awspec/matcher/have_tag.rb
cthiesfork-awspec-1.1.0 lib/awspec/matcher/have_tag.rb
cthiesfork-awspec-1.0.0 lib/awspec/matcher/have_tag.rb
awspec-1.18.4 lib/awspec/matcher/have_tag.rb
awspec-1.18.3 lib/awspec/matcher/have_tag.rb
awspec-1.18.2 lib/awspec/matcher/have_tag.rb
awspec-1.18.1 lib/awspec/matcher/have_tag.rb
awspec-1.18.0 lib/awspec/matcher/have_tag.rb
awspec-1.17.4 lib/awspec/matcher/have_tag.rb
awspec-1.17.3 lib/awspec/matcher/have_tag.rb
awspec-1.17.2 lib/awspec/matcher/have_tag.rb
awspec-1.17.1 lib/awspec/matcher/have_tag.rb
awspec-1.17.0 lib/awspec/matcher/have_tag.rb
awspec-1.16.1 lib/awspec/matcher/have_tag.rb
awspec-1.16.0 lib/awspec/matcher/have_tag.rb
awspec-1.15.3 lib/awspec/matcher/have_tag.rb
awspec-1.15.2 lib/awspec/matcher/have_tag.rb