diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-20 18:01:47 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-27 12:23:26 -0500 |
commit | a6536a84e75952ffba7bb5cea07673963d820766 (patch) | |
tree | 41626fee9031aa4ba54517a4a93f1e18a255864d /spec/features | |
parent | cc3e488c984abe220cbecb35b61af5b04d93f90d (diff) | |
download | gitlab-ce-a6536a84e75952ffba7bb5cea07673963d820766.tar.gz |
Fix some specs
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/files/browse_files_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/projects/files/browse_files_spec.rb b/spec/features/projects/files/browse_files_spec.rb index d281043caa3..70e96efd557 100644 --- a/spec/features/projects/files/browse_files_spec.rb +++ b/spec/features/projects/files/browse_files_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -feature 'user browses project', feature: true do +feature 'user browses project', feature: true, js: true do let(:project) { create(:project) } let(:user) { create(:user) } @@ -13,7 +13,7 @@ feature 'user browses project', feature: true do scenario "can see blame of '.gitignore'" do click_link ".gitignore" click_link 'Blame' - + expect(page).to have_content "*.rb" expect(page).to have_content "Dmitriy Zaporozhets" expect(page).to have_content "Initial commit" @@ -24,6 +24,7 @@ feature 'user browses project', feature: true do click_link 'files' click_link 'lfs' click_link 'lfs_object.iso' + wait_for_ajax expect(page).not_to have_content 'Download (1.5 MB)' expect(page).to have_content 'version https://git-lfs.github.com/spec/v1' |