summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-27 13:15:50 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-03-27 18:45:36 -0400
commitd281835ac6bb8e2e2e020ce283944209b466a490 (patch)
treeb815a0f87752e01e6977b74a25f34bd657061f6d
parent8ec8aa147115aa953a9b38d3326ebf7ee130ea3f (diff)
downloadgitlab-ce-d281835ac6bb8e2e2e020ce283944209b466a490.tar.gz
Use Project `:repository` trait where necessary in migration specs
-rw-r--r--spec/migrations/migrate_process_commit_worker_jobs_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/migrate_process_commit_worker_jobs_spec.rb b/spec/migrations/migrate_process_commit_worker_jobs_spec.rb
index b6d678bac18..3db57595fa6 100644
--- a/spec/migrations/migrate_process_commit_worker_jobs_spec.rb
+++ b/spec/migrations/migrate_process_commit_worker_jobs_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
require Rails.root.join('db', 'migrate', '20161124141322_migrate_process_commit_worker_jobs.rb')
describe MigrateProcessCommitWorkerJobs do
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
let(:user) { create(:user) }
let(:commit) { project.commit.raw.raw_commit }