# File test/test_control.rb, line 970 def test_alias_setup @store['aliases'] = [ { 'virtual_host' => nil, 'alias_path' => '/bar', 'orig_path' => '/foo' }, { 'virtual_host' => 'foo', 'alias_path' => '/fuge', 'orig_path' => '/hoge' } ] build_control server_setup assert_equal('/foo', @folder.alias('/bar')) assert_equal('/hoge', @folder.virtual_alias('foo:8888', '/fuge')) end