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