mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Fixed some broken specs
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ describe NotificationsHelper do
|
||||
before { notification.stub(disabled?: true) }
|
||||
|
||||
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
|
||||
|
||||
@@ -16,7 +16,7 @@ describe NotificationsHelper do
|
||||
before { notification.stub(participating?: true) }
|
||||
|
||||
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
|
||||
|
||||
@@ -24,12 +24,12 @@ describe NotificationsHelper do
|
||||
before { notification.stub(watch?: true) }
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user