Commit 597836d6 authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Fixed some broken specs

Signed-off-by: default avatarJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
parent 7a89cef6
...@@ -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