浏览代码

Fix quoting in Commands.pm for endpoints

Daniel Gempesaw 11 年之前
父节点
当前提交
0c8f641320
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      lib/Selenium/Remote/Commands.pm

+ 6 - 4
lib/Selenium/Remote/Commands.pm

@@ -366,22 +366,24 @@ has '_cmds' => (
             },
             'setGeolocation' => {
                 'method'             => 'POST',
-                'url'                => "session/:sessionId/location",
+                'url'                => 'session/:sessionId/location',
                 'no_content_success' => 1
             },
             'getGeolocation'   => {
                 'method'             => 'GET',
-                'url'                => "session/:sessionId/location",
+                'url'                => 'session/:sessionId/location',
                 'no_content_success' => 0
             },
             'getLog' => {
                 'method'             => 'POST',
-                'url'                => "session/:sessionId/log",
+                'url'                => 'session/:sessionId/log',
                 'no_content_success' => 0
             },
             'getLogTypes'   => {
                 'method'             => 'GET',
-                'url'                => "session/:sessionId/log/types",
+                'url'                => 'session/:sessionId/log/types',
+                'no_content_success' => 0
+            },
                 'no_content_success' => 0
             },