summaryrefslogtreecommitdiff
path: root/spec/models/blob_viewer
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-09-08 18:00:32 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-09-08 18:00:32 +0200
commitb293034998501de64dbdbbe500f9c34c6e8e2f75 (patch)
tree69727fc933bdb201ea347ff2d4f6ea8537712100 /spec/models/blob_viewer
parentdf16969c24c608682b8b46883a8e6e20147a3791 (diff)
downloadgitlab-ce-b293034998501de64dbdbbe500f9c34c6e8e2f75.tar.gz
Reconcile differences in spec/models/blob_viewer
Diffstat (limited to 'spec/models/blob_viewer')
-rw-r--r--spec/models/blob_viewer/gitlab_ci_yml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/blob_viewer/gitlab_ci_yml_spec.rb b/spec/models/blob_viewer/gitlab_ci_yml_spec.rb
index 48345b192d1..01c555a7a90 100644
--- a/spec/models/blob_viewer/gitlab_ci_yml_spec.rb
+++ b/spec/models/blob_viewer/gitlab_ci_yml_spec.rb
@@ -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 }