Sha256: 1f1fdf49e2637629018e3d68b1a3f3ce034c2ef5eecee78e78cb90378426d165

Contents?: true

Size: 175 Bytes

Versions: 6

Compression:

Stored size: 175 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/matcher/belong_to_domain.rb
awspec-1.29.3 lib/awspec/matcher/belong_to_domain.rb
awspec-1.29.2 lib/awspec/matcher/belong_to_domain.rb
awspec-1.29.1 lib/awspec/matcher/belong_to_domain.rb
awspec-1.29.0 lib/awspec/matcher/belong_to_domain.rb
awspec-1.28.2 lib/awspec/matcher/belong_to_domain.rb