diff options
Diffstat (limited to 'spec/lib/gitlab/plantuml_spec.rb')
-rw-r--r-- | spec/lib/gitlab/plantuml_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/plantuml_spec.rb b/spec/lib/gitlab/plantuml_spec.rb index c783dd66c48..c2cce59cf90 100644 --- a/spec/lib/gitlab/plantuml_spec.rb +++ b/spec/lib/gitlab/plantuml_spec.rb @@ -9,7 +9,7 @@ RSpec.describe Gitlab::Plantuml, feature_category: :shared do let(:plantuml_url) { "http://plantuml.foo.bar" } before do - allow(Gitlab::CurrentSettings).to receive(:plantuml_url).and_return(plantuml_url) + stub_application_setting(plantuml_url: plantuml_url) end context "when PlantUML is enabled" do |