spec/support/spec_blueprints.rb in praxis-blueprints-3.0 vs spec/support/spec_blueprints.rb in praxis-blueprints-3.1
- old
+ new
@@ -27,10 +27,14 @@
attribute :full_name
attribute :address
attribute :prior_addresses
end
+ view :circular do
+ attribute :address, view: :circular
+ end
+
view :current do
attribute :name
attribute :full_name
attribute :address
end
@@ -61,11 +65,15 @@
end
view :default do
attribute :street
attribute :state
+
end
+ view :circular do
+ attribute :resident, view: :circular
+ end
view :state do
attribute :state
end
view :extended do