Sha256: f784538523192acfcfbca8fcbc1c72d883a8f4f02604152c18fa52345206e8e2

Contents?: true

Size: 275 Bytes

Versions: 14

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

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

14 entries across 14 versions & 1 rubygems

Version Path
awspec-1.32.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.31.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.30.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.29.3 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.29.2 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.29.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.29.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.28.2 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.28.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.28.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.27.1 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.27.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.26.0 lib/awspec/matcher/have_attribute_definition.rb
awspec-1.25.2 lib/awspec/matcher/have_attribute_definition.rb