# File test/test_params.rb, line 1389 def test_name @entry.name = 'Foo' assert_equal('Foo', @attrs['document']) assert_equal(1, @name_tag_call) assert_equal(1, @name_list_call) assert_equal('Foo', @entry.name) assert_equal(2, @name_tag_call) assert_exception(RuntimeError) { @entry.name = nil } assert_exception(RuntimeError) { @entry.name = 'Bar' } end