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