# File test/test_DocumentTable.rb, line 325 def test_has_args? @DocumentTable.document = { 'document' => 'Page', 'arguments' => [ "Hello world.\n", 'text/plain' ], 'mount_path' => '/hello', 'mount_mask' => nil } assert(@DocumentTable.has_args?) @DocumentTable.document = { 'document' => 'Empty', 'arguments' => [], 'mount_path' => '/empty', 'mount_mask' => nil } assert(! @DocumentTable.has_args?) end