Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
318b50a0
Commit
318b50a0
authored
Jun 26, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add profile notification spinach
parent
6642709f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
features/profile/notifications.feature
features/profile/notifications.feature
+8
-0
features/steps/profile/profile_notifications.rb
features/steps/profile/profile_notifications.rb
+13
-0
No files found.
features/profile/notifications.feature
0 → 100644
View file @
318b50a0
Feature
:
Profile Notifications
Background
:
Given
I sign in as a user
And
I own project
"Shop"
Scenario
:
I
visit notifications tab
When
I visit profile notifications page
Then
I should see global notifications settings
features/steps/profile/profile_notifications.rb
0 → 100644
View file @
318b50a0
class
ProfileNotifications
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedProject
step
'I visit profile notifications page'
do
visit
profile_notifications_path
end
step
'I should see global notifications settings'
do
page
.
should
have_content
"Setup your notification level"
page
.
should
have_content
"Global setting"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment