do not bypass pluralization in test

This commit is contained in:
Jonne Haß 2012-06-24 13:03:22 +02:00
parent 8c8ff1f8b8
commit 8434b25e56

View file

@ -74,8 +74,9 @@ describe NotificationsHelper do
it 'includes the boilerplate translation' do
output = object_link(@notification, notification_people_link(@notification))
output.should include t("#{@notification.popup_translation_key}.two",
output.should include I18n.t("#{@notification.popup_translation_key}",
:actors => notification_people_link(@notification),
:count => @notification.actors.count,
:post_link => "<a href=\"#{post_path(@post)}\" class=\"hard_object_link\" data-ref=\"#{@post.id}\">#{t('notifications.post')}</a>")
end