Skip to content

Commit d70f244

Browse files
committed
fix rubocop
1 parent c6f6528 commit d70f244

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/unit/common_test.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ def test_create_session_force_mjsonwp_false
6666
response = { value: RESPONSE_BASE_VALUE }.to_json
6767

6868
stub_request(:post, 'http://127.0.0.1:4723/wd/hub/session')
69-
.with(body: { desiredCapabilities: CAPS,
70-
capabilities: { alwaysMatch: APPIUM_PREFIX_CAPS, firstMatch: [{}] } }.to_json)
71-
.to_return(headers: Mock::HEADER, status: 200, body: response)
69+
.with(body: { desiredCapabilities: CAPS,
70+
capabilities: { alwaysMatch: APPIUM_PREFIX_CAPS, firstMatch: [{}] } }.to_json)
71+
.to_return(headers: Mock::HEADER, status: 200, body: response)
7272

7373
stub_request(:post, "#{Mock::SESSION}/timeouts")
74-
.with(body: { implicit: 20_000 }.to_json)
75-
.to_return(headers: Mock::HEADER, status: 200, body: { value: nil }.to_json)
74+
.with(body: { implicit: 20_000 }.to_json)
75+
.to_return(headers: Mock::HEADER, status: 200, body: { value: nil }.to_json)
7676

7777
driver = ::Appium::Core.for(self, { caps: CAPS.merge({ forceMjsonwp: false }), appium_lib: {} }).start_driver
7878

0 commit comments

Comments
 (0)