diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-27 23:42:08 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-03-28 01:45:37 +0300 |
commit | 68e671893247326a28fc3e5d139ae2c3060e628c (patch) | |
tree | a005e651f8109ca6d653a624dbdf3a2a05e9a438 /spec/workers/post_receive_spec.rb | |
parent | 985a0c39ef29db3c3c2c3aa386b2d332d9e98018 (diff) |
Use `:empty_project` where possible in worker specs
Diffstat (limited to 'spec/workers/post_receive_spec.rb')
-rw-r--r-- | spec/workers/post_receive_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb index 7bcb5521202..a2a559a2369 100644 --- a/spec/workers/post_receive_spec.rb +++ b/spec/workers/post_receive_spec.rb @@ -4,7 +4,7 @@ describe PostReceive do let(:changes) { "123456 789012 refs/heads/tést\n654321 210987 refs/tags/tag" } let(:wrongly_encoded_changes) { changes.encode("ISO-8859-1").force_encoding("UTF-8") } let(:base64_changes) { Base64.encode64(wrongly_encoded_changes) } - let(:project) { create(:project) } + let(:project) { create(:project, :repository) } let(:key) { create(:key, user: project.owner) } let(:key_id) { key.shell_id } |