Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Jan 8, 2025
1 parent 0b695da commit 79fa5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/avo/wait_for_loaded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def wait_for_body_class_missing(klass = "turbo-loading", time = Capybara.default
puts "\n\nMethod '#{__method__}' raised 'Timeout::Error' after #{time}s"
end

def wait_for_path_to_be(path: , time: Capybara.default_max_wait_time)
def wait_for_path_to_be(path:, time: Capybara.default_max_wait_time)
Timeout.timeout(time) do
break if current_path == path
end
Expand Down

0 comments on commit 79fa5a7

Please sign in to comment.