Commit 883c86a5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix notification specs

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 64dbcfe2
......@@ -51,7 +51,7 @@
%p
%span.light Owned by
- if @project.group
#{link_to @project.group.name, @project.group} Group
#{link_to @project.group.name, @project.group} group
- else
#{link_to @project.owner_name, @project.owner}
......
......@@ -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-circle cred"')
notification_icon(notification).should match('class="icon-volume-off cred"')
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-circle cblue"')
notification_icon(notification).should match('class="icon-volume-down cblue"')
end
end
......@@ -24,7 +24,7 @@ describe NotificationsHelper do
before { notification.stub(watch?: true) }
it "has a green icon" do
notification_icon(notification).should match('class="icon-circle cgreen"')
notification_icon(notification).should match('class="icon-volume-up cgreen"')
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment