From c38f7b240b01411a10aadf930223573409c5e340 Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Fri, 23 Nov 2018 17:34:50 +0200 Subject: [PATCH] DEV: Fix build. --- spec/requests/user_avatars_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/user_avatars_controller_spec.rb b/spec/requests/user_avatars_controller_spec.rb index 5e8d0e79b09..33a63799d7d 100644 --- a/spec/requests/user_avatars_controller_spec.rb +++ b/spec/requests/user_avatars_controller_spec.rb @@ -75,7 +75,7 @@ describe UserAvatarsController do stub_request(:get, "http://cdn.com/something/else").to_return(body: 'image') - GlobalSetting.expects(:cdn_url).returns("http://awesome.com/boom") + GlobalSetting.stubs(:cdn_url).returns("http://awesome.com/boom") upload = Fabricate(:upload, url: "//test.s3.dualstack.us-east-1.amazonaws.com/something")