diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /spec/features/projects_spec.rb | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'spec/features/projects_spec.rb')
-rw-r--r-- | spec/features/projects_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index c18b0f2688b..2ac829d406c 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -128,23 +128,23 @@ RSpec.describe 'Project' do end it 'shows project topics' do - project.update_attribute(:tag_list, 'topic1') + project.update_attribute(:topic_list, 'topic1') visit path expect(page).to have_css('.home-panel-topic-list') - expect(page).to have_link('Topic1', href: explore_projects_path(tag: 'topic1')) + expect(page).to have_link('Topic1', href: explore_projects_path(topic: 'topic1')) end - it 'shows up to 3 project tags' do - project.update_attribute(:tag_list, 'topic1, topic2, topic3, topic4') + it 'shows up to 3 project topics' do + project.update_attribute(:topic_list, 'topic1, topic2, topic3, topic4') visit path expect(page).to have_css('.home-panel-topic-list') - expect(page).to have_link('Topic1', href: explore_projects_path(tag: 'topic1')) - expect(page).to have_link('Topic2', href: explore_projects_path(tag: 'topic2')) - expect(page).to have_link('Topic3', href: explore_projects_path(tag: 'topic3')) + expect(page).to have_link('Topic1', href: explore_projects_path(topic: 'topic1')) + expect(page).to have_link('Topic2', href: explore_projects_path(topic: 'topic2')) + expect(page).to have_link('Topic3', href: explore_projects_path(topic: 'topic3')) expect(page).to have_content('+ 1 more') end end |