test/support/models.rb in lazy_model-0.0.1 vs test/support/models.rb in lazy_model-0.0.2
- old
+ new
@@ -1,8 +1,10 @@
class Post < ActiveRecord::Base
CHOICES = ["one", "two", "three"]
+ TYPES = ["OldClass"]
lazy_model :archived #boolean
lazy_model :choice, Post::CHOICES, {:prime => ["one", "three"]} #string
+ lazy_model :old_type, Post::TYPES
end
\ No newline at end of file