Skip to content

Commit

Permalink
Changed tests to use proper DM Serial
Browse files Browse the repository at this point in the history
  • Loading branch information
krobertson committed Apr 1, 2010
1 parent 3672481 commit f8eac0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/helper.rb
Expand Up @@ -49,7 +49,7 @@ def rebuild_model options = {}
include DataMapper::Resource
include DataMapper::Validate
include Paperclip::Resource
property :id, Integer, :serial => true
property :id, Serial
property :other, String
has_attached_file :avatar, options
end
Expand Down
2 changes: 1 addition & 1 deletion test/paperclip_test.rb
Expand Up @@ -21,7 +21,7 @@ class PaperclipTest < Test::Unit::TestCase
include DataMapper::Resource
include DataMapper::Validate
include Paperclip::Resource
property :id, Integer, :serial => true
property :id, Serial
property :other, String
has_attached_file :file
end
Expand Down

0 comments on commit f8eac0f

Please sign in to comment.