Commit 880a86b5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7093 from jvanbaarsen/spex-fix-notifications-helper

Fixed some broken specs
parents 7a89cef6 597836d6
No related merge requests found
...@@ -8,7 +8,7 @@ describe NotificationsHelper do ...@@ -8,7 +8,7 @@ describe NotificationsHelper do
before { notification.stub(disabled?: true) } before { notification.stub(disabled?: true) }
it "has a red icon" do 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
end end
...@@ -16,7 +16,7 @@ describe NotificationsHelper do ...@@ -16,7 +16,7 @@ describe NotificationsHelper do
before { notification.stub(participating?: true) } before { notification.stub(participating?: true) }
it "has a blue icon" do 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
end end
...@@ -24,12 +24,12 @@ describe NotificationsHelper do ...@@ -24,12 +24,12 @@ describe NotificationsHelper do
before { notification.stub(watch?: true) } before { notification.stub(watch?: true) }
it "has a green icon" do 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
end end
it "has a blue icon" do 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 end
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