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:
authorCiro Santillli <ciro.santilli@gmail.com>2014-01-27 18:53:59 +0400
committerCiro Santillli <ciro.santilli@gmail.com>2014-02-11 18:45:30 +0400
commit91571c078dee6297a17afecb6dc071ce882c82be (patch)
treed57688b9653182beaa345e6cabe11b50e4dfabee /features/steps/user.rb
parent1284f21c073e42c44b9faa7b0ad1ec90b66ca8fb (diff)
User pages are visible to users without login
... if the user is authorized to at least one public project.
Diffstat (limited to 'features/steps/user.rb')
-rw-r--r--features/steps/user.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/steps/user.rb b/features/steps/user.rb
new file mode 100644
index 00000000000..5fb248ffcbc
--- /dev/null
+++ b/features/steps/user.rb
@@ -0,0 +1,10 @@
+class Spinach::Features::User < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedUser
+ include SharedProject
+
+ step 'I should see user "John Doe" page' do
+ expect(page.title).to match(/^\s*John Doe/)
+ end
+end