Sha256: b4b9afebe7e092fb44d1ca2c6da4bc4cdc487a1fc74dbd4e0a52346a0a49b22c

Contents?: true

Size: 149 Bytes

Versions: 103

Compression:

Stored size: 149 Bytes

Contents

RSpec::Matchers.define :belong_to_domain do |domain|
  match do |type|
    return true if type.resource_via_client.last[:domain] == domain
  end
end

Version data entries

103 entries across 103 versions & 4 rubygems

Version Path
cthiesfork-awspec-1.2.2 lib/awspec/matcher/belong_to_domain.rb
cthiesfork-awspec-1.2.1 lib/awspec/matcher/belong_to_domain.rb
awspec-1.18.5 lib/awspec/matcher/belong_to_domain.rb
cthiesfork-awspec-1.2.0 lib/awspec/matcher/belong_to_domain.rb
cthiesfork-awspec-1.1.0 lib/awspec/matcher/belong_to_domain.rb
cthiesfork-awspec-1.0.0 lib/awspec/matcher/belong_to_domain.rb
awspec-1.18.4 lib/awspec/matcher/belong_to_domain.rb
awspec-1.18.3 lib/awspec/matcher/belong_to_domain.rb
awspec-1.18.2 lib/awspec/matcher/belong_to_domain.rb
awspec-1.18.1 lib/awspec/matcher/belong_to_domain.rb
awspec-1.18.0 lib/awspec/matcher/belong_to_domain.rb
awspec-1.17.4 lib/awspec/matcher/belong_to_domain.rb
awspec-1.17.3 lib/awspec/matcher/belong_to_domain.rb
awspec-1.17.2 lib/awspec/matcher/belong_to_domain.rb
awspec-1.17.1 lib/awspec/matcher/belong_to_domain.rb
awspec-1.17.0 lib/awspec/matcher/belong_to_domain.rb
awspec-1.16.1 lib/awspec/matcher/belong_to_domain.rb
awspec-1.16.0 lib/awspec/matcher/belong_to_domain.rb
awspec-1.15.3 lib/awspec/matcher/belong_to_domain.rb
awspec-1.15.2 lib/awspec/matcher/belong_to_domain.rb