spec/support/models/widget.rb in ripple-0.7.1 vs spec/support/models/widget.rb in ripple-0.8.0.beta
- old
+ new
@@ -1,6 +1,10 @@
class Widget
include Ripple::Document
property :size, Integer
property :name, String, :default => "widget"
-end
\ No newline at end of file
+end
+
+class Cog < Widget
+ property :name, String, :default => "cog"
+end