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.25.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.25.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.24.4 lib/awspec/matcher/have_key_schema.rb
awspec-1.24.3 lib/awspec/matcher/have_key_schema.rb
awspec-1.24.2 lib/awspec/matcher/have_key_schema.rb
awspec-1.24.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.24.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.23.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.22.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.22.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.21.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.21.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.20.0 lib/awspec/matcher/have_key_schema.rb
awspec-1.19.2 lib/awspec/matcher/have_key_schema.rb
awspec-1.19.1 lib/awspec/matcher/have_key_schema.rb
awspec-1.19.0 lib/awspec/matcher/have_key_schema.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/have_key_schema.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/have_key_schema.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/have_key_schema.rb
awspec-1.18.6 lib/awspec/matcher/have_key_schema.rb