diff options
Diffstat (limited to 'spec/models/project_snippet_spec.rb')
-rw-r--r-- | spec/models/project_snippet_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/project_snippet_spec.rb b/spec/models/project_snippet_spec.rb index 3bcbf6b9e1b..3d1c87771f3 100644 --- a/spec/models/project_snippet_spec.rb +++ b/spec/models/project_snippet_spec.rb @@ -36,8 +36,7 @@ RSpec.describe ProjectSnippet do it_behaves_like 'model with repository' do let_it_be(:container) { create(:project_snippet, :repository) } let(:stubbed_container) { build_stubbed(:project_snippet) } - let(:expected_full_path) { "#{container.project.full_path}/@snippets/#{container.id}" } + let(:expected_full_path) { "#{container.project.full_path}/snippets/#{container.id}" } let(:expected_web_url_path) { "#{container.project.full_path}/-/snippets/#{container.id}" } - let(:expected_repo_url_path) { "#{container.project.full_path}/snippets/#{container.id}" } end end |