Commit 880a86b577f12fb5f758b2b8e8d8e70b6670cf3c

Authored by Dmitriy Zaporozhets
2 parents 7a89cef6 597836d6

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

Fixed some broken specs
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
spec/helpers/notifications_helper_spec.rb
@@ -8,7 +8,7 @@ describe NotificationsHelper do @@ -8,7 +8,7 @@ describe NotificationsHelper do
8 before { notification.stub(disabled?: true) } 8 before { notification.stub(disabled?: true) }
9 9
10 it "has a red icon" do 10 it "has a red icon" do
11 - notification_icon(notification).should match('class="icon-volume-off cred"') 11 + notification_icon(notification).should match('class="icon-volume-off ns-mute"')
12 end 12 end
13 end 13 end
14 14
@@ -16,7 +16,7 @@ describe NotificationsHelper do @@ -16,7 +16,7 @@ describe NotificationsHelper do
16 before { notification.stub(participating?: true) } 16 before { notification.stub(participating?: true) }
17 17
18 it "has a blue icon" do 18 it "has a blue icon" do
19 - notification_icon(notification).should match('class="icon-volume-down cblue"') 19 + notification_icon(notification).should match('class="icon-volume-down ns-part"')
20 end 20 end
21 end 21 end
22 22
@@ -24,12 +24,12 @@ describe NotificationsHelper do @@ -24,12 +24,12 @@ describe NotificationsHelper do
24 before { notification.stub(watch?: true) } 24 before { notification.stub(watch?: true) }
25 25
26 it "has a green icon" do 26 it "has a green icon" do
27 - notification_icon(notification).should match('class="icon-volume-up cgreen"') 27 + notification_icon(notification).should match('class="icon-volume-up ns-watch"')
28 end 28 end
29 end 29 end
30 30
31 it "has a blue icon" do 31 it "has a blue icon" do
32 - notification_icon(notification).should match('class="icon-circle-blank cblue"') 32 + notification_icon(notification).should match('class="icon-circle-blank ns-default"')
33 end 33 end
34 end 34 end
35 end 35 end