Commit 883c86a59e8ad7ec85891ad7a45340ea7caa2ca9
1 parent
64dbcfe2
Exists in
spb-stable
and in
3 other branches
Fix notification specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
app/views/projects/show.html.haml
spec/helpers/notifications_helper_spec.rb
... | ... | @@ -8,7 +8,7 @@ describe NotificationsHelper do |
8 | 8 | before { notification.stub(disabled?: true) } |
9 | 9 | |
10 | 10 | it "has a red icon" do |
11 | - notification_icon(notification).should match('class="icon-circle cred"') | |
11 | + notification_icon(notification).should match('class="icon-volume-off cred"') | |
12 | 12 | end |
13 | 13 | end |
14 | 14 | |
... | ... | @@ -16,7 +16,7 @@ describe NotificationsHelper do |
16 | 16 | before { notification.stub(participating?: true) } |
17 | 17 | |
18 | 18 | it "has a blue icon" do |
19 | - notification_icon(notification).should match('class="icon-circle cblue"') | |
19 | + notification_icon(notification).should match('class="icon-volume-down cblue"') | |
20 | 20 | end |
21 | 21 | end |
22 | 22 | |
... | ... | @@ -24,7 +24,7 @@ describe NotificationsHelper do |
24 | 24 | before { notification.stub(watch?: true) } |
25 | 25 | |
26 | 26 | it "has a green icon" do |
27 | - notification_icon(notification).should match('class="icon-circle cgreen"') | |
27 | + notification_icon(notification).should match('class="icon-volume-up cgreen"') | |
28 | 28 | end |
29 | 29 | end |
30 | 30 | ... | ... |