Commit 597836d6ccc52588d90780313ccc4eef730e16df
1 parent
7a89cef6
Exists in
spb-stable
and in
2 other branches
Fixed some broken specs
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
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 |