Commit e79a3095 by Tute Costa

Merge pull request #2202 from pedrosmmoreira/correct_validators_spec

Correct validators spec
parents a46adc86 479d6fd2
......@@ -3,6 +3,7 @@ require 'spec_helper'
describe Paperclip::Validators do
context "using the helper" do
before do
rebuild_class
Dummy.validates_attachment :avatar, presence: true, content_type: { content_type: "image/jpeg" }, size: { in: 0..10240 }
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment