Commit c91c7ea3fea5583e5887fa9bac159e3e25f56b73

Authored by Joenio Costa
2 parents 4d602b80 239cc9b1

Merge branch 'ActionItem628-done'

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
test/unit/pending_task_notifier_test.rb
@@ -14,9 +14,10 @@ class PendingTaskNotifierTest < Test::Unit::TestCase @@ -14,9 +14,10 @@ class PendingTaskNotifierTest < Test::Unit::TestCase
14 end 14 end
15 15
16 should 'be able to deliver notification' do 16 should 'be able to deliver notification' do
  17 + env = Environment.default
17 p = create_user('maelcum').person 18 p = create_user('maelcum').person
18 response = PendingTaskNotifier.deliver_notification(p) 19 response = PendingTaskNotifier.deliver_notification(p)
19 - assert_equal 'Pending tasks', response.subject 20 + assert_equal "#{env.name} - Pending tasks", response.subject
20 assert_equal p.email, response.to[0] 21 assert_equal p.email, response.to[0]
21 end 22 end
22 23