summaryrefslogtreecommitdiff
path: root/spec/features/dashboard/projects_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-07-09 19:18:15 +0000
committerDouwe Maan <douwe@gitlab.com>2017-07-09 19:18:15 +0000
commit64701b51aeacf4f4f932f205a2d831880b757a43 (patch)
treeb5397ce2dc8930a1781dbde1cdbad7940e3be2a7 /spec/features/dashboard/projects_spec.rb
parentf225cc9b97e97372ab035225112cd5f5d44c0e31 (diff)
parent60814985e033e4941ff3eb5d33ca55e3fc81593e (diff)
downloadgitlab-ce-64701b51aeacf4f4f932f205a2d831880b757a43.tar.gz
Merge branch 'rs-sign_in' into 'master'
Change gitlab_sign_in to sign_in See merge request !12369
Diffstat (limited to 'spec/features/dashboard/projects_spec.rb')
-rw-r--r--spec/features/dashboard/projects_spec.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/spec/features/dashboard/projects_spec.rb b/spec/features/dashboard/projects_spec.rb
index 7d1fe2bd435..7ca002fc821 100644
--- a/spec/features/dashboard/projects_spec.rb
+++ b/spec/features/dashboard/projects_spec.rb
@@ -7,7 +7,13 @@ feature 'Dashboard Projects' do
before do
project.team << [user, :developer]
- gitlab_sign_in(user)
+ sign_in(user)
+ end
+
+ it_behaves_like "an autodiscoverable RSS feed with current_user's RSS token" do
+ before do
+ visit dashboard_projects_path
+ end
end
it 'shows the project the user in a member of in the list' do
@@ -71,6 +77,4 @@ feature 'Dashboard Projects' do
expect(page).to have_xpath("//a[@href='#{pipelines_project_commit_path(project, project.commit)}']")
end
end
-
- it_behaves_like "an autodiscoverable RSS feed with current_user's RSS token"
end