Sha256: eb9301538ce559a949e0dabc7b0a6d625d926432b7bbd7c92f48153e286c3b55

Contents?: true

Size: 151 Bytes

Versions: 309

Compression:

Stored size: 151 Bytes

Contents

RSpec::Matchers.define :contains_log do |level, message|
  match do |actual|
    actual.include?("[#{level.upcase}] #{message}")
  end

  diffable
end

Version data entries

309 entries across 309 versions & 1 rubygems

Version Path
appsignal-2.9.2 spec/support/matchers/contains_log.rb
appsignal-2.9.2-java spec/support/matchers/contains_log.rb
appsignal-2.9.2.alpha.1 spec/support/matchers/contains_log.rb
appsignal-2.9.2.alpha.1-java spec/support/matchers/contains_log.rb
appsignal-2.9.1-java spec/support/matchers/contains_log.rb
appsignal-2.9.1 spec/support/matchers/contains_log.rb
appsignal-2.9.0-java spec/support/matchers/contains_log.rb
appsignal-2.9.0 spec/support/matchers/contains_log.rb
appsignal-2.8.4 spec/support/matchers/contains_log.rb
appsignal-2.8.4-java spec/support/matchers/contains_log.rb
appsignal-2.8.4.beta.1 spec/support/matchers/contains_log.rb
appsignal-2.8.4.beta.1-java spec/support/matchers/contains_log.rb
appsignal-2.8.3 spec/support/matchers/contains_log.rb
appsignal-2.8.3-java spec/support/matchers/contains_log.rb
appsignal-2.8.3.beta.1 spec/support/matchers/contains_log.rb
appsignal-2.8.3.beta.1-java spec/support/matchers/contains_log.rb
appsignal-2.8.2 spec/support/matchers/contains_log.rb
appsignal-2.8.2-java spec/support/matchers/contains_log.rb
appsignal-2.8.1 spec/support/matchers/contains_log.rb
appsignal-2.8.1-java spec/support/matchers/contains_log.rb