Skip to content

Commit af3ea2e

Browse files
committed
Rubocop - Style/PredicateName
1 parent 7907af6 commit af3ea2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android_tests/lib/android/specs/driver.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# rake android[driver]
22
describe 'driver' do
3-
def is_sauce
3+
def sauce?
44
ENV['UPLOAD_FILE'] && ENV['SAUCE_USERNAME']
55
end
66

@@ -123,7 +123,7 @@ def validate_path(path)
123123

124124
t 'server_version' do
125125
server_version = appium_server_version['build']['version']
126-
if is_sauce
126+
if sauce?
127127
server_version.must_match 'Sauce OnDemand'
128128
else
129129
server_version.must_match(/(\d+)\.(\d+).(\d+)/)

0 commit comments

Comments
 (0)