diff options
Diffstat (limited to 'qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb')
-rw-r--r-- | qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb b/qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb index 73f020e7d05..1f4fb08accc 100644 --- a/qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb +++ b/qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb @@ -23,10 +23,7 @@ module QA push.project.visit! - Page::Project::Show.perform do |page| - page.wait_for_push - page.wait_for_viewers_to_load - end + Page::Project::Show.perform(&:wait_for_viewers_to_load) expect(page).to have_content('README.md') expect(page).to have_content('This is a test project') |