# File test/test_wpm_messg_manip.rb, line 197 def test_page_with_page_name_and_path_info @env['SCRIPT_NAME'] = '/script.cgi' @env['PATH_INFO'] = '/this_page/path/info' assert_equal('/script.cgi/that_page/foo/bar', @messg_manip.page_path('that_page', '/foo/bar')) assert_equal(1, @env_call) end