Sha256: 7e86ac8b9be71efe6fac17b0fb7a1c06ff0db40439536083cc310e439f6d59c4

Contents?: true

Size: 269 Bytes

Versions: 14

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :have_subscription_filter do |filter_name|
  match do |log_group_name|
    log_group_name.has_subscription_filter?(filter_name, @pattern)
  end

  chain :filter_pattern do |pattern|
    @pattern = pattern
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
awspec-1.32.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.31.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.30.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.29.3 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.29.2 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.29.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.29.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.28.2 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.28.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.28.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.27.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.27.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.26.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.25.2 lib/awspec/matcher/have_subscription_filter.rb