Commit 883c86a59e8ad7ec85891ad7a45340ea7caa2ca9

Authored by Dmitriy Zaporozhets
1 parent 64dbcfe2

Fix notification specs

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/projects/show.html.haml
... ... @@ -51,7 +51,7 @@
51 51 %p
52 52 %span.light Owned by
53 53 - if @project.group
54   - #{link_to @project.group.name, @project.group} Group
  54 + #{link_to @project.group.name, @project.group} group
55 55 - else
56 56 #{link_to @project.owner_name, @project.owner}
57 57  
... ...
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  
... ...