Sha256: ed159a111cfed5e5a09396d91ef996d39863fe72d68d797d6507bdc4f8aa53f1

Contents?: true

Size: 238 Bytes

Versions: 118

Compression:

Stored size: 238 Bytes

Contents

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

118 entries across 118 versions & 4 rubygems

Version Path
awspec-0.79.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.79.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.78.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.77.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.77.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.76.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.76.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.75.2 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.75.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.75.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.74.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.74.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.73.2 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.73.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.73.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.72.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.71.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-0.70.0 lib/awspec/matcher/have_subscription_filter.rb