spec/factories/ship_factory.rb in exposure-0.1.0 vs spec/factories/ship_factory.rb in exposure-0.1.1
- old
+ new
@@ -1,3 +1,7 @@
Factory.define :ship do |s|
s.name 'Black Pearl'
+end
+
+Factory.define :dinghy, :class => 'ship' do |s|
+ s.name 'A shabby little thing'
end
\ No newline at end of file