Sha256: fe2dfa272446da07f2a445e02fa6b6ccacc72fbedaebfaf045d7a8934adb4657

Contents?: true

Size: 226 Bytes

Versions: 3

Compression:

Stored size: 226 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awspec-1.25.1 lib/awspec/matcher/have_metric_filter.rb
awspec-1.25.0 lib/awspec/matcher/have_metric_filter.rb
awspec-1.24.4 lib/awspec/matcher/have_metric_filter.rb