Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-08-11 19:48:32 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-08-13 08:57:40 +0300
commitf668da11cb225a9b2c2f1d3ba9d1e9fb2797d4f9 (patch)
tree48f54ed40d288979f1c14c90c79cc456fe6010b7 /spec/features/profiles
parent2675c9d632c9560a94e98cd3830e2dfdfbbc2bd4 (diff)
Updated tests
Diffstat (limited to 'spec/features/profiles')
-rw-r--r--spec/features/profiles/preferences_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/profiles/preferences_spec.rb b/spec/features/profiles/preferences_spec.rb
index 787bf42d048..259ed7531d8 100644
--- a/spec/features/profiles/preferences_spec.rb
+++ b/spec/features/profiles/preferences_spec.rb
@@ -68,10 +68,14 @@ describe 'Profile > Preferences', feature: true do
allowing_for_delay do
find('#logo').click
+
+ expect(page).to have_content('You don\'t have starred projects yet')
expect(page.current_path).to eq starred_dashboard_projects_path
end
click_link 'Your Projects'
+
+ expect(page).not_to have_content('You don\'t have starred projects yet')
expect(page.current_path).to eq dashboard_projects_path
end
end