Commit 239cc9b167c32ff9688e29add9bb6e9a218a58ff
1 parent
9e766d40
Exists in
master
and in
29 other branches
subject is formed by environment name more 'Pending tasks'
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 | 14 | end |
15 | 15 | |
16 | 16 | should 'be able to deliver notification' do |
17 | + env = Environment.default | |
17 | 18 | p = create_user('maelcum').person |
18 | 19 | response = PendingTaskNotifier.deliver_notification(p) |
19 | - assert_equal 'Pending tasks', response.subject | |
20 | + assert_equal "#{env.name} - Pending tasks", response.subject | |
20 | 21 | assert_equal p.email, response.to[0] |
21 | 22 | end |
22 | 23 | ... | ... |