diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-27 22:44:13 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-03-28 01:45:36 +0300 |
commit | b1222ebcf3b04624f788b47be58bf4fc5dd679cc (patch) | |
tree | 8d4b07973ea0b4d76d512671abfe527631eb1487 /spec/serializers/commit_entity_spec.rb | |
parent | 90e802cd968371d40fe07a0b788165d2a035e927 (diff) |
Use `:empty_project` where possible in serializer specs
Diffstat (limited to 'spec/serializers/commit_entity_spec.rb')
-rw-r--r-- | spec/serializers/commit_entity_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/commit_entity_spec.rb b/spec/serializers/commit_entity_spec.rb index 0333d73b5b5..04247c78549 100644 --- a/spec/serializers/commit_entity_spec.rb +++ b/spec/serializers/commit_entity_spec.rb @@ -6,7 +6,7 @@ describe CommitEntity do end let(:request) { double('request') } - let(:project) { create(:project) } + let(:project) { create(:project, :repository) } let(:commit) { project.commit } subject { entity.as_json } |