Sha256: c48eab9922e56708f45035f3c82b72a491efac80c388ed3839f8b12e7f16cc05

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

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

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

World(Gametel::Navigation)

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]],
  :action_bar => [[MainMenuScreen, :app],
                  [AppScreen, :action_bar],
                  [ActionBar]]
}

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


Before('~@webview') do
  Gametel.apk_path = 'features/support/ApiDemos.apk'
  @driver = Gametel.start('ApiDemos')
end

Before('@webview') do
  Gametel.apk_path = 'webview_sample/bin/webview_sample-debug.apk'
  driver = Gametel.start('MainActivity')
end

After do
  Gametel.stop
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gametel-0.7 features/support/env.rb