spec/support/models/widget.rb in ripple-0.8.2 vs spec/support/models/widget.rb in ripple-0.8.3
- old
+ new
@@ -15,9 +15,12 @@
class Widget
include Ripple::Document
property :size, Integer
property :name, String, :default => "widget"
property :manufactured, Boolean, :default => false
+ property :shipped_at, Time
+
+ attr_protected :manufactured
end
class Cog < Widget
property :name, String, :default => "cog"
end