X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d3502068c07807aea7b36270bdae74b04095df62..d4ed3e6460469f2766e1f1676c538d6c86e000b6:/services/api/test/unit/user_notifier_test.rb?ds=sidebyside diff --git a/services/api/test/unit/user_notifier_test.rb b/services/api/test/unit/user_notifier_test.rb index 008259c0b6..f409d231f1 100644 --- a/services/api/test/unit/user_notifier_test.rb +++ b/services/api/test/unit/user_notifier_test.rb @@ -14,12 +14,12 @@ class UserNotifierTest < ActionMailer::TestCase assert_not_nil email # 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 Rails.configuration.Users.UserNotifierEmailFrom, email.from.first assert_equal user.email, email.to.first 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), + assert (email.body.to_s.include? Rails.configuration.Services.Workbench1.ExternalURL.to_s), 'Expected workbench url in email body' end