From f4213b63a6b1587092a85991af46b5020255ef29 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Tue, 24 May 2011 16:25:48 +0200 Subject: [PATCH] fixed notification helper spec --- spec/helpers/notifications_helper_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/helpers/notifications_helper_spec.rb b/spec/helpers/notifications_helper_spec.rb index e92902c4f..b03dec3fa 100644 --- a/spec/helpers/notifications_helper_spec.rb +++ b/spec/helpers/notifications_helper_spec.rb @@ -73,7 +73,8 @@ describe NotificationsHelper do it 'includes the boilerplate translation' do output = object_link(@notification) - output.should include t("#{@notification.popup_translation_key}") + output.should include t("#{@notification.popup_translation_key}", + :post_link => "#{t('notifications.post')}") end context 'when post is deleted' do