spec/blobject_spec.rb in blobject-0.2.2 vs spec/blobject_spec.rb in blobject-0.2.3
- old
+ new
@@ -80,9 +80,14 @@
end
it 'should allow for nested modification blocks' do
blobject.modify do
+
+ name.middle = 'mittens'
+
+ # makes sure that previously assigned members can be modified with a block
+
name do
first 'barry'
last 'mcdoodle'
end
end