diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb index a3e1ca923ef..76bcfbe523a 100644 --- a/spec/features/login_spec.rb +++ b/spec/features/login_spec.rb @@ -257,7 +257,7 @@ feature 'Login', feature: true do end end - def ensure_tab_pane_correctness(visit_path=true) + def ensure_tab_pane_correctness(visit_path = true) if visit_path visit new_user_session_path end