Reconcile differences in spec/models/blob_viewer

This commit is contained in:
Matija Čupić 2018-09-08 18:00:32 +02:00
parent df16969c24
commit b293034998
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ describe BlobViewer::GitlabCiYml do
include FakeBlobHelpers
include RepoHelpers
let(:project) { build_stubbed(:project, :repository) }
let(:project) { create(:project, :repository) }
let(:data) { File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml')) }
let(:blob) { fake_blob(path: '.gitlab-ci.yml', data: data) }
let(:sha) { sample_commit.id }