X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/eb7227693e8847a65798afa7f7e8a4ffe8a199a4..b1b93d2d90e58fbdfe4a4f8e363a4705dbd39bd5:/services/api/test/unit/user_notifier_test.rb diff --git a/services/api/test/unit/user_notifier_test.rb b/services/api/test/unit/user_notifier_test.rb index b280ae7f08..8629f2951a 100644 --- a/services/api/test/unit/user_notifier_test.rb +++ b/services/api/test/unit/user_notifier_test.rb @@ -12,11 +12,9 @@ class UserNotifierTest < ActionMailer::TestCase # Test the body of the sent email contains what we expect it to assert_equal Rails.configuration.user_notifier_email_from, email.from.first assert_equal user.email, email.to.first - assert_equal 'Welcome to Curoverse', email.subject - assert (email.body.to_s.include? 'Your Arvados account has been set up'), - 'Expected Your Arvados account has been set up in email body' - assert (email.body.to_s.include? user.email), - 'Expected user email in email body' + assert_equal 'Welcome to Curoverse - shell account enabled', email.subject + assert (email.body.to_s.include? 'Your Arvados shell account has been set up'), + 'Expected Your Arvados shell account has been set up in email body' assert (email.body.to_s.include? Rails.configuration.workbench_address), 'Expected workbench url in email body' end