Sha256: 8a2d4a143b3b4578a75be71ec0be96d4ae4ad6e60e734fb952c3814040ec333e

Contents?: true

Size: 206 Bytes

Versions: 116

Compression:

Stored size: 206 Bytes

Contents

RSpec::Matchers.define :have_key_schema do |attribute_name|
  match do |attribute|
    attribute.has_key_schema?(attribute_name, @key_type)
  end

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

Version data entries

116 entries across 116 versions & 4 rubygems

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