diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-17 08:29:08 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-17 08:29:08 +0000 |
commit | 052de0600c6b137e6f9df08250b4cf5f38280295 (patch) | |
tree | b8016a67e334168c6cdd013429f3087e87020724 /features/steps/shared | |
parent | cb8654e85650ba6107031cc978d882f4b2f272cf (diff) | |
parent | 5b5c7e048b6e975a655478b0e5d421c2438276aa (diff) | |
download | gitlab-ce-052de0600c6b137e6f9df08250b4cf5f38280295.tar.gz |
Merge branch 'fix-trending-projects-spinach-failure' into 'master'
Fix trending projects Spinach failure
The trending projects list is now pre-calculated. To make this work with the Spinach test, we have to manually refresh the list.
Partial fix to #23378
See merge request !6911
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/project.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index afbd8ef1233..cab85a48396 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -218,6 +218,10 @@ module SharedProject 2.times { create(:note_on_issue, project: project) } end + step 'trending projects are refreshed' do + TrendingProject.refresh! + end + step 'project "Shop" has labels: "bug", "feature", "enhancement"' do project = Project.find_by(name: "Shop") create(:label, project: project, title: 'bug') |