lib/gametel.rb in gametel-0.3 vs lib/gametel.rb in gametel-0.4
- old
+ new
@@ -1,20 +1,19 @@
require 'gametel/accessors'
require 'gametel/navigation'
require 'gametel/version'
-require 'gametel/platforms/calabash'
+require 'gametel/platforms/brazenhead_platform'
module Gametel
- include Calabash::Android::Operations
attr_reader :platform
def self.included(cls)
cls.extend Gametel::Accessors
end
- def initialize(pform = :calabash)
- @platform = Gametel::Platforms::Calabash.new if pform == :calabash
+ def initialize(pform = :brazenhead)
+ @platform = Gametel::Platforms::BrazenheadPlatform.new if pform == :brazenhead
end
#
# Returns true if the provided text is found on the screen
#