Skip to content

Commit 294ba49

Browse files
committed
Extend Appium::Device methods before promoting Appium methods.
1 parent d432e36 commit 294ba49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/appium_lib/driver.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,11 @@ def initialize opts={}
288288
# Subsequent drivers do not trigger promotion.
289289
unless @@loaded
290290
@@loaded = true
291-
# Promote only on Minitest::Spec (minitest 5) by default
292-
Appium.promote_appium_methods ::Minitest::Spec
293-
294291
# load device methods exactly once
295292
extend Appium::Device
293+
294+
# Promote only on Minitest::Spec (minitest 5) by default
295+
Appium.promote_appium_methods ::Minitest::Spec
296296
end
297297

298298
self # return newly created driver

0 commit comments

Comments
 (0)