summaryrefslogtreecommitdiff
path: root/features/steps/user.rb
diff options
context:
space:
mode:
authorCiro Santillli <ciro.santilli@gmail.com>2014-01-27 15:53:59 +0100
committerCiro Santillli <ciro.santilli@gmail.com>2014-02-11 15:45:30 +0100
commit91571c078dee6297a17afecb6dc071ce882c82be (patch)
treed57688b9653182beaa345e6cabe11b50e4dfabee /features/steps/user.rb
parent1284f21c073e42c44b9faa7b0ad1ec90b66ca8fb (diff)
downloadgitlab-ce-91571c078dee6297a17afecb6dc071ce882c82be.tar.gz
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