diff options
Diffstat (limited to 'spec/presenters/blob_presenter_spec.rb')
-rw-r--r-- | spec/presenters/blob_presenter_spec.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/spec/presenters/blob_presenter_spec.rb b/spec/presenters/blob_presenter_spec.rb index f8cba8e9203..f10150b819a 100644 --- a/spec/presenters/blob_presenter_spec.rb +++ b/spec/presenters/blob_presenter_spec.rb @@ -60,9 +60,13 @@ RSpec.describe BlobPresenter do describe '#pipeline_editor_path' do context 'when blob is .gitlab-ci.yml' do before do - project.repository.create_file(user, '.gitlab-ci.yml', '', - message: 'Add a ci file', - branch_name: 'main') + project.repository.create_file( + user, + '.gitlab-ci.yml', + '', + message: 'Add a ci file', + branch_name: 'main' + ) end let(:blob) { repository.blob_at('main', '.gitlab-ci.yml') } |