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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
880a86b5
Commit
880a86b5
authored
Jun 09, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7093 from jvanbaarsen/spex-fix-notifications-helper
Fixed some broken specs
parents
7a89cef6
597836d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/helpers/notifications_helper_spec.rb
spec/helpers/notifications_helper_spec.rb
+4
-4
No files found.
spec/helpers/notifications_helper_spec.rb
View file @
880a86b5
...
...
@@ -8,7 +8,7 @@ describe NotificationsHelper do
before
{
notification
.
stub
(
disabled?:
true
)
}
it
"has a red icon"
do
notification_icon
(
notification
).
should
match
(
'class="icon-volume-off
cred
"'
)
notification_icon
(
notification
).
should
match
(
'class="icon-volume-off
ns-mute
"'
)
end
end
...
...
@@ -16,7 +16,7 @@ describe NotificationsHelper do
before
{
notification
.
stub
(
participating?:
true
)
}
it
"has a blue icon"
do
notification_icon
(
notification
).
should
match
(
'class="icon-volume-down
cblue
"'
)
notification_icon
(
notification
).
should
match
(
'class="icon-volume-down
ns-part
"'
)
end
end
...
...
@@ -24,12 +24,12 @@ describe NotificationsHelper do
before
{
notification
.
stub
(
watch?:
true
)
}
it
"has a green icon"
do
notification_icon
(
notification
).
should
match
(
'class="icon-volume-up
cgreen
"'
)
notification_icon
(
notification
).
should
match
(
'class="icon-volume-up
ns-watch
"'
)
end
end
it
"has a blue icon"
do
notification_icon
(
notification
).
should
match
(
'class="icon-circle-blank
cblue
"'
)
notification_icon
(
notification
).
should
match
(
'class="icon-circle-blank
ns-default
"'
)
end
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