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.87.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.86.0 lib/awspec/matcher/have_key_schema.rb
cmonson_2ndwatch_awspec-0.85.4 lib/awspec/matcher/have_key_schema.rb
awspec-0.85.3 lib/awspec/matcher/have_key_schema.rb
cmonson_2ndwatch_awspec-0.85.3 lib/awspec/matcher/have_key_schema.rb
awspec-0.85.2 lib/awspec/matcher/have_key_schema.rb
awspec-0.85.1 lib/awspec/matcher/have_key_schema.rb
awspec-0.85.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.84.1 lib/awspec/matcher/have_key_schema.rb
awspec-0.84.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.83.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.82.3 lib/awspec/matcher/have_key_schema.rb
awspec-0.82.2 lib/awspec/matcher/have_key_schema.rb
awspec-0.82.1 lib/awspec/matcher/have_key_schema.rb
awspec-0.82.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.81.1 lib/awspec/matcher/have_key_schema.rb
awspec-0.81.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.80.1 lib/awspec/matcher/have_key_schema.rb
awspec-0.80.0 lib/awspec/matcher/have_key_schema.rb
awspec-0.79.2 lib/awspec/matcher/have_key_schema.rb