# File test/test_params.rb, line 1404 def test_path @entry.path = '/foo' assert_equal('/foo', @attrs['mount_path']) assert_equal(1, @path_tag_call) assert_equal('/foo', @entry.path) assert_equal(2, @path_tag_call) #assert_exception(RuntimeError) { @entry.path = nil # checked at saving #} #assert_exception(RuntimeError) { @entry.path = 'foo' # checked at saving #} assert_exception(RuntimeError) { @entry.path = 0 } end