Commit 49df90b0 by Jon Yurek

Merge branch 'master' of github.com:thoughtbot/paperclip

parents 7bd613a4 3be55fc8
......@@ -324,4 +324,3 @@ module Paperclip
end
end
......@@ -50,4 +50,3 @@ end
class File #:nodoc:
include Paperclip::Upfile
end
......@@ -32,4 +32,3 @@ spec = Gem::Specification.new do |s|
s.add_development_dependency 'aws-s3'
s.add_development_dependency 'sqlite3-ruby'
end
......@@ -25,7 +25,7 @@ require 'active_record/version'
require 'active_support'
require 'action_pack'
puts "Testing againt version #{ActiveRecord::VERSION::STRING}"
puts "Testing against version #{ActiveRecord::VERSION::STRING}"
begin
require 'ruby-debug'
......
......@@ -308,7 +308,7 @@ class PaperclipTest < Test::Unit::TestCase
end
should "have a file size min/max error message" do
assert @dummy.errors[:avatar_file_size].any?{|e| e.match %r/between 0 and 10240 bytes/ }
assert @dummy.errors[:avatar_file_size] =~ %r/between 0 and 10240 bytes/
end
end
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