Skip to content

Commit

Permalink
Ruby 1.9.* support
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheworiordan committed Apr 30, 2018
1 parent 6430217 commit 82ed37e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/support/test_logger_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def initialize
end
end

def logs(min_severity: nil)
def logs(options = {})
min_severity = options[:min_severity]
if min_severity
severity_level = SEVERITIES.index(min_severity)
raise "Unknown severity: #{min_severity}" if severity_level.nil?
Expand Down

0 comments on commit 82ed37e

Please sign in to comment.