Skip to content

Commit 47f1790

Browse files
committed
Rubocop - Style/BracesAroundHashParameters
1 parent 1b946fb commit 47f1790

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

android_tests/lib/android/specs/driver.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def is_sauce
7070

7171
t 'absolute_app_path' do
7272
def absolute_app_path path
73-
$driver.class.absolute_app_path({caps: { app: path } })
73+
$driver.class.absolute_app_path(caps: { app: path } )
7474
end
7575

7676
def validate_path path

android_tests/lib/run.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
test_dir = "/#{device}/"
2727

2828
caps = Appium.load_appium_txt file: appium_txt, verbose: true
29-
caps = caps.merge({ appium_lib: { debug: true, wait: 1 } })
29+
caps = caps.merge(appium_lib: { debug: true, wait: 1 })
3030
caps[:app] = ENV['SAUCE_PATH'] if ENV['SAUCE_USERNAME'] && ENV['SAUCE_ACCESS_KEY']
3131

3232
trace_files = []
@@ -71,4 +71,4 @@
7171
# Exit after tests.
7272
Minitest.after_run { $driver.x if $driver }
7373
# Run Minitest. Provide test file array for tracing.
74-
Minitest.run_specs({ trace: trace_files })
74+
Minitest.run_specs(trace: trace_files)

0 commit comments

Comments
 (0)