Skip to content

Commit a947a0a

Browse files
committed
fix .nil? check
1 parent 8a35c6e commit a947a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def ios
120120
cap[:caps][:bundleId] = ENV['BUNDLE_ID'] || 'io.appium.apple-samplecode.UICatalog'
121121
end
122122

123-
unless ENV['UNIT_TEST'].nil?
123+
unless ENV['UNIT_TEST']
124124
xcode_org_id = ENV['ORG_ID'] || 'Simulator'
125125
cap = add_ios_real_device(cap.dup, xcode_org_id) if real_device
126126
cap = add_xctestrun(real_device, cap.dup, xcode_org_id)

0 commit comments

Comments
 (0)