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-1.15.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.15.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.14.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.14.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.13.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.7 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.6 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.5 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.4 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.3 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.2 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.12.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.11.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.11.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.10.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.9.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.8.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.7.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.6.1 lib/awspec/matcher/have_key_schema.rb