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