Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Sep 10, 2024
1 parent f95e729 commit f3a0947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
validator.errors << "Notifier name in body was expected to be 'Bugsnag Go', but was '#{notifier_name}'"
end

['notifier.url', 'notifier.version', 'events'].each? do |element_key|
['notifier.url', 'notifier.version', 'events'].each do |element_key|
element = Maze::Helper.read_key_path(validator.body, element_key)
if element.nil? || (element.is_a?(Array) && element.empty?)
validator.success = false
Expand Down Expand Up @@ -65,7 +65,7 @@
validator.errors << "Notifier name in body was expected to be 'Bugsnag Go', but was '#{notifier_name}'"
end

['notifier.url', 'notifier.version', 'events'].each? do |element_key|
['notifier.url', 'notifier.version', 'events'].each do |element_key|
element = Maze::Helper.read_key_path(validator.body, element_key)
if element.nil? || (element.is_a?(Array) && element.empty?)
validator.success = false
Expand Down

0 comments on commit f3a0947

Please sign in to comment.