diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-05-26 17:47:54 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-05-26 17:47:54 +0400 |
commit | f8a6d3405ea3a25f5b0776241831deb037020fc6 (patch) | |
tree | 2a3e5fae9a42da7edde4ce6f4e49e024365034d4 /spec/controllers/projects_controller_spec.rb | |
parent | 3b2b3cff04993c7247e953c10aa8c6fb5e8d6ddb (diff) |
Add image_service spec.
Diffstat (limited to 'spec/controllers/projects_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb index 1d465d4996e..7a772396e8b 100644 --- a/spec/controllers/projects_controller_spec.rb +++ b/spec/controllers/projects_controller_spec.rb @@ -3,10 +3,7 @@ require('spec_helper') describe ProjectsController do let(:project) { create(:project) } let(:user) { create(:user) } - let(:png) { fixture_file_upload(Rails.root + 'spec/fixtures/dk.png', 'image/png') } let(:jpg) { fixture_file_upload(Rails.root + 'spec/fixtures/rails_sample.jpg', 'image/jpg') } - let(:gif) { fixture_file_upload(Rails.root + 'spec/fixtures/banana_sample.gif', 'image/gif') } - let(:txt) { fixture_file_upload(Rails.root + 'spec/fixtures/doc_sample.txt', 'text/plain') } describe "POST #upload_image" do before do |