mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-16 14:53:17 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -471,7 +471,7 @@ RSpec.describe ApplicationHelper do
|
||||
|
||||
context 'when @snippet is set' do
|
||||
it 'returns the passed path' do
|
||||
snippet = create(:snippet)
|
||||
snippet = create(:project_snippet)
|
||||
assign(:snippet, snippet)
|
||||
|
||||
expect(helper.external_storage_url_or_path('/foo/bar', project)).to eq('/foo/bar')
|
||||
|
Reference in New Issue
Block a user