diff --git a/spec/components/email/message_builder_spec.rb b/spec/components/email/message_builder_spec.rb index e165b760258..82e8961d6b5 100644 --- a/spec/components/email/message_builder_spec.rb +++ b/spec/components/email/message_builder_spec.rb @@ -159,7 +159,7 @@ describe Email::MessageBuilder do end it "has the user_preferences_url" do - expect(template_args[:user_preferences_url]).to eq("#{Discourse.base_url}/user_preferences") + expect(template_args[:user_preferences_url]).to eq("#{Discourse.base_url}/my/preferences") end end