X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0db099d96a60ffafdaf0cdf14e92a4dc579e723e..9f57bcbab5b244365ca4d0ece8490d7540c72b86:/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 8629f2951a..008259c0b6 100644 --- a/services/api/test/unit/user_notifier_test.rb +++ b/services/api/test/unit/user_notifier_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class UserNotifierTest < ActionMailer::TestCase @@ -12,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),