summaryrefslogtreecommitdiff
path: root/spec/lib/light_url_builder_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/light_url_builder_spec.rb')
-rw-r--r--spec/lib/light_url_builder_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/light_url_builder_spec.rb b/spec/lib/light_url_builder_spec.rb
index a826b24419a..3fe8cf43934 100644
--- a/spec/lib/light_url_builder_spec.rb
+++ b/spec/lib/light_url_builder_spec.rb
@@ -99,7 +99,7 @@ describe Gitlab::UrlBuilder, lib: true do
context 'on another object' do
it 'returns a proper URL' do
- project = build_stubbed(:project)
+ project = build_stubbed(:empty_project)
expect { described_class.build(project) }.
to raise_error(NotImplementedError, 'No URL builder defined for Project')