spec/models/direct_upload_spec.rb
Line is too long. [130/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:direct_upload, :proposal, :documents, attachment: File.new("spec/fixtures/files/clippy.png"))).not_to be_valid
- Exclude checks
Final newline missing. (https://github.com/bbatsov/ruby-style-guide#newline-eof) Open
Open
end
- Exclude checks
Line is too long. [125/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:direct_upload, :proposal, :image, attachment: File.new("spec/fixtures/files/empty.pdf"))).not_to be_valid
- Exclude checks
Line is too long. [134/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:direct_upload, :budget_investment, :image, attachment: File.new("spec/fixtures/files/empty.pdf"))).not_to be_valid
- Exclude checks
Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(proposal_document_direct_upload.relation.attachment.path).to include('cached_attachments')
- Exclude checks
Line is too long. [139/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:direct_upload, :budget_investment, :documents, attachment: File.new("spec/fixtures/files/clippy.png"))).not_to be_valid
- Exclude checks