Commit 318d0b29 by Nick Quaranto

Setting encodings and fixing arity so the tests actually run

parent 121609fa
# encoding: utf-8
module Paperclip module Paperclip
# The Attachment class manages the files for a given attachment. It saves # The Attachment class manages the files for a given attachment. It saves
# when the model saves, deletes when the model is destroyed, and processes # when the model saves, deletes when the model is destroyed, and processes
......
# encoding: utf-8
require 'test/helper' require 'test/helper'
class Dummy class Dummy
......
...@@ -40,7 +40,7 @@ def reset_class class_name ...@@ -40,7 +40,7 @@ def reset_class class_name
end end
def reset_table table_name, &block def reset_table table_name, &block
block ||= lambda{ true } block ||= lambda { |table| true }
ActiveRecord::Base.connection.create_table :dummies, {:force => true}, &block ActiveRecord::Base.connection.create_table :dummies, {:force => true}, &block
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