Skip to content

Commit 1d4ffd1

Browse files
committed
use try
1 parent 9b7f15b commit 1d4ffd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/helpers/devise/webauthn/credentials_helper_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
end
1111

1212
before do
13-
Rails.application.reload_routes_unless_loaded
13+
Rails.application.try(:reload_routes_unless_loaded)
1414
end
1515

1616
def parse(html)

0 commit comments

Comments
 (0)