test/storage_test.rb in ruote-0.9.18 vs test/storage_test.rb in ruote-0.9.19
- old
+ new
@@ -19,26 +19,26 @@
class Animal
end
class StorageTest < Test::Unit::TestCase
- #def setup
- #end
+ #def setup
+ #end
- #def teardown
- #end
+ #def teardown
+ #end
- def test_class_accepted
+ def test_class_accepted
- esb = Object.new
- class << esb
- include OpenWFE::ExpressionStorageBase
- end
+ esb = Object.new
+ class << esb
+ include OpenWFE::ExpressionStorageBase
+ end
- assert (esb.class_accepted?(Vehicle.new, nil, nil))
- assert (esb.class_accepted?(Vehicle.new, [ Vehicle ], nil))
- assert (not esb.class_accepted?(Vehicle.new, nil, [ Vehicle ]))
+ assert (esb.class_accepted?(Vehicle.new, nil, nil))
+ assert (esb.class_accepted?(Vehicle.new, [ Vehicle ], nil))
+ assert (not esb.class_accepted?(Vehicle.new, nil, [ Vehicle ]))
- assert (esb.class_accepted?(Car.new, [ Vehicle ], nil))
- assert (not esb.class_accepted?(Car.new, nil, [ Vehicle ]))
- end
+ assert (esb.class_accepted?(Car.new, [ Vehicle ], nil))
+ assert (not esb.class_accepted?(Car.new, nil, [ Vehicle ]))
+ end
end