Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Setting encodings and fixing arity so the tests actually run
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Jun 30, 2009
1 parent 121609f commit 318d0b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/paperclip/attachment.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
module Paperclip
# The Attachment class manages the files for a given attachment. It saves
# when the model saves, deletes when the model is destroyed, and processes
Expand Down
1 change: 1 addition & 0 deletions test/attachment_test.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
require 'test/helper'

class Dummy
Expand Down
2 changes: 1 addition & 1 deletion test/helper.rb
Expand Up @@ -40,7 +40,7 @@ def reset_class class_name
end

def reset_table table_name, &block
block ||= lambda{ true }
block ||= lambda { |table| true }
ActiveRecord::Base.connection.create_table :dummies, {:force => true}, &block
end

Expand Down

0 comments on commit 318d0b2

Please sign in to comment.