Update tests to match new template.
authorTom Clegg <tclegg@veritasgenetics.com>
Tue, 13 Nov 2018 21:56:27 +0000 (16:56 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Tue, 13 Nov 2018 21:56:27 +0000 (16:56 -0500)
No issue #

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

services/api/test/functional/arvados/v1/users_controller_test.rb
services/api/test/unit/user_notifier_test.rb

index b01597c05bf0280ea6cc6fa052ba98ff70526994..728a2a1fa2abc9c1261c64a7fddf077dc6747446 100644 (file)
@@ -638,7 +638,7 @@ class Arvados::V1::UsersControllerTest < ActionController::TestCase
 
     assert_equal Rails.configuration.user_notifier_email_from, setup_email.from[0]
     assert_equal 'foo@example.com', setup_email.to[0]
-    assert_equal 'Welcome to Curoverse - shell account enabled', setup_email.subject
+    assert_equal 'Welcome to Arvados - shell account enabled', setup_email.subject
     assert (setup_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 (setup_email.body.to_s.include? "#{Rails.configuration.workbench_address}users/#{created['uuid']}/virtual_machines"), 'Expected virtual machines url in email body'
index e2c4da70200ff3db00a206f7692e43e6626bc404..008259c0b65041146ed4e59e29eff34876bc6204 100644 (file)
@@ -16,7 +16,7 @@ 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 - shell account enabled', email.subject
+    assert_equal 'Welcome to Arvados - 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),