BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
notifications.feature
features/profile/notifications.feature
+8
-0
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