spec/volute_spec.rb in volute-0.1.0 vs spec/volute_spec.rb in volute-0.1.1
- old
+ new
@@ -61,37 +61,5 @@
(@invoice.paid = false).should == false
@invoice.paid.should == false
end
end
-describe 'a volute with an over' do
-
- before(:each) do
-
- Volute.clear!
-
- @package = Package.new
-
- volute Package do
- volute do
- over if object.delivered
- end
- volute :location do
- (object.comment ||= []) << value
- end
- end
- end
-
- it 'should prevent evaluation of further volutes' do
-
- @package.location = 'ZRH'
- @package.location = 'CDG'
-
- @package.comment.should == %w[ ZRH CDG ]
-
- @package.delivered = true
- @package.location = 'FCO'
-
- @package.comment.should == %w[ ZRH CDG ]
- end
-end
-