diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-26 00:44:33 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-26 01:14:38 +0300 |
commit | 4642ca6686d30e1bb203ece4836a294c868a6250 (patch) | |
tree | d9c1847421c210f108453905d6a3d53ad7b5579c /spec/controllers/uploads_controller_spec.rb | |
parent | d55839120e92be48b30d248ce9d72a19be038c79 (diff) |
Use `empty_project` where possible in controller specs
Diffstat (limited to 'spec/controllers/uploads_controller_spec.rb')
-rw-r--r-- | spec/controllers/uploads_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/uploads_controller_spec.rb b/spec/controllers/uploads_controller_spec.rb index 69124ab06bf..570d9fa43f8 100644 --- a/spec/controllers/uploads_controller_spec.rb +++ b/spec/controllers/uploads_controller_spec.rb @@ -41,7 +41,7 @@ describe UploadsController do end context "when viewing a project avatar" do - let!(:project) { create(:project, avatar: fixture_file_upload(Rails.root + "spec/fixtures/dk.png", "image/png")) } + let!(:project) { create(:empty_project, avatar: fixture_file_upload(Rails.root + "spec/fixtures/dk.png", "image/png")) } context "when the project is public" do before do |