test/structure_test.rb in structure-0.17.1 vs test/structure_test.rb in structure-0.17.2

- old
+ new

@@ -36,10 +36,9 @@ assert_respond_to Person.new, :name= end test "should raise errors" do assert_raise(NameError) { Person.key :class } - assert_raise(TypeError) { Person.key :foo, Module.new } assert_raise(TypeError) { Person.key :foo, String, :default => 1 } end test "should store defaults" do assert_equal [], Person.new.friends