Need txt file in test.
This commit is contained in:
parent
43e7b8fa07
commit
9b2a13497d
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ describe ProjectsController do
|
|||
let(:project) { create(:project) }
|
||||
let(:user) { create(:user) }
|
||||
let(:jpg) { fixture_file_upload(Rails.root + 'spec/fixtures/rails_sample.jpg', 'image/jpg') }
|
||||
let(:txt) { fixture_file_upload(Rails.root + 'spec/fixtures/doc_sample.txt', 'text/plain') }
|
||||
|
||||
describe "POST #upload_image" do
|
||||
before do
|
||||
|
|
Loading…
Reference in a new issue