Permalink
Browse files

Use DataMapper::Property

  • Loading branch information...
1 parent 78c6e14 commit b196300073153fe94fa072e14b646095b01fccc7 @johnny committed Mar 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/helper.rb
  2. +1 −1 test/paperclip_test.rb
View
@@ -68,7 +68,7 @@ def rebuild_model options = {}
include DataMapper::Resource
include DataMapper::Validate
include Paperclip::Resource
- property :id, ::DataMapper::Types::Serial
+ property :id, ::DataMapper::Property::Serial
property :other, String
has_attached_file :avatar, options
end
View
@@ -21,7 +21,7 @@ class PaperclipTest < Test::Unit::TestCase
include DataMapper::Resource
include DataMapper::Validate
include Paperclip::Resource
- property :id, DataMapper::Types::Serial
+ property :id, DataMapper::Property::Serial
property :other, String
has_attached_file :file
end

0 comments on commit b196300

Please sign in to comment.