Sha256: 62c2859f83b9c0dac617b4497c716e4e5f9b498dd0292f598479ce06f54179d8

Contents?: true

Size: 921 Bytes

Versions: 7

Compression:

Stored size: 921 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))

require 'rspec/expectations'
require 'require_all'
require 'gametel'

World(Gametel::Navigation)

keystore = {
  :path => 'features/support/debug.keystore',
  :alias => 'androiddebugkey',
  :password => 'android',
  :keystore_password => 'android'
}

server = Brazenhead::Server.new('features/support/ApiDemos.apk', keystore)

require_rel '/screens'

Gametel::Navigation.routes = {
  :default => [[MainMenuScreen, :views],
               [ViewsMenuScreen, :controls],
               [ControlsMenuScreen, :light_theme],
               [ControlsScreen, :button_field_id]],
  :button_route => [[MainMenuScreen, :views],
                    [ViewsMenuScreen, :buttons],
                    [ButtonScreen, :normal_id]]
}


class Driver
  include Brazenhead
end

Before do
  @driver = Driver.new
  server.start("ApiDemos")
end

After do
  server.stop
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gametel-0.5.8.1 features/support/env.rb
gametel-0.5.8 features/support/env.rb
gametel-0.5.7 features/support/env.rb
gametel-0.5.6 features/support/env.rb
gametel-0.5.5 features/support/env.rb
gametel-0.5.4 features/support/env.rb
gametel-0.5.3 features/support/env.rb