summaryrefslogtreecommitdiff
path: root/spec/services/files
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-27 17:14:01 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-03-27 20:44:09 -0400
commitca9a79f62026aa63ab44665aa51a8e88de941b01 (patch)
tree5f98c43b79cdb30c60a75613f0f0e5f457a0e20c /spec/services/files
parentd4c99f644a2da2aa340aee8bc10c1dcf7c9e0d18 (diff)
downloadgitlab-ce-ca9a79f62026aa63ab44665aa51a8e88de941b01.tar.gz
Use `:empty_project` where possible in service specs
Diffstat (limited to 'spec/services/files')
-rw-r--r--spec/services/files/update_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/files/update_service_spec.rb b/spec/services/files/update_service_spec.rb
index 35e6e139238..26aa5b432d4 100644
--- a/spec/services/files/update_service_spec.rb
+++ b/spec/services/files/update_service_spec.rb
@@ -3,7 +3,7 @@ require "spec_helper"
describe Files::UpdateService do
subject { described_class.new(project, user, commit_params) }
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
let(:user) { create(:user) }
let(:file_path) { 'files/ruby/popen.rb' }
let(:new_contents) { 'New Content' }