15 lines
465 B
Ruby
15 lines
465 B
Ruby
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
|
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
|
|
|
describe 'assignment_submitted.sms' do
|
|
it "should render" do
|
|
@object = submission_model
|
|
generate_message(:assignment_submitted, :sms, @object)
|
|
end
|
|
end
|
|
|
|
|
|
# <%= asset.user.name %> just turned in their assignment, <%= asset.assignment.title %>
|
|
#
|
|
# More info at <%= HostUrl.context_host(asset.assignment.context) %>
|