Sha256: 4b1b9eddf57d5eefefce079e929e73565c5ce285c214f8a823665de5c268085d

Contents?: true

Size: 244 Bytes

Versions: 116

Compression:

Stored size: 244 Bytes

Contents

RSpec::Matchers.define :have_attribute_definition do |attribute_name|
  match do |attribute|
    attribute.has_attribute_definition?(attribute_name, @attribute_type)
  end

  chain :attribute_type do |type|
    @attribute_type = type
  end
end

Version data entries

116 entries across 116 versions & 4 rubygems

Version Path
awspec-0.79.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.79.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.78.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.77.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.77.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.76.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.76.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.75.2 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.75.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.75.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.74.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.74.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.73.2 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.73.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.73.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-0.72.0 lib/awspec/matcher/have_attribute_definition.rb