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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
597836d6
Commit
597836d6
authored
Jun 08, 2014
by
Jeroen van Baarsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some broken specs
Signed-off-by:
Jeroen van Baarsen
<
jeroenvanbaarsen@gmail.com
>
parent
7a89cef6
Changes
1
Show 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 @
597836d6
...
...
@@ -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