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-1.25.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.25.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.24.4 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.24.3 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.24.2 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.24.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.24.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.23.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.22.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.22.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.21.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.21.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.20.0 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.19.2 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.19.1 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.19.0 lib/awspec/matcher/have_subscription_filter.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/have_subscription_filter.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/have_subscription_filter.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/have_subscription_filter.rb
awspec-1.18.6 lib/awspec/matcher/have_subscription_filter.rb