Created
May 13, 2014 12:43
-
-
Save raysrashmi/42ac5a0441b74269b07b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe MessageNotification do | |
it_behaves_like 'notification' do | |
let(:subject) { create(:message) } | |
let(:message) { subject } | |
let(:project) { message.project } | |
let(:notification) { MessageNotification.new(message) } | |
let(:text) { %{#{message.creator.name} posted a message "#{message.subject}" #{Rails.application.routes.url_helpers.account_project_message_url(project.account, project, message)}} } | |
let(:activity_text) { I18n.t('activity.message_create') } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment