Merge branch '9857-cwl-acceptlist-re' refs #9857
[arvados.git] / services / api / test / unit / user_notifier_test.rb
index b280ae7f08c24ff322b57c347f0a4f7f8843d89f..8629f2951ac2652747051e03b38332df0031ae98 100644 (file)
@@ -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