Module: Frank::Calabash

Defined in:
lib/frank-calabash.rb

Defined Under Namespace

Modules: Operations Classes: Client

Instance Method Summary collapse

Instance Method Details

#calabash_clientObject



40
41
42
# File 'lib/frank-calabash.rb', line 40

def calabash_client
  Client.new
end

#launch(options = {}) ⇒ Object



31
32
33
34
35
36
37
38
# File 'lib/frank-calabash.rb', line 31

def launch(options={})
  launcher = ::Calabash::Cucumber::Launcher.launcher
  #noinspection RubyResolve
  options[:app] ||= File.expand_path('Frank/frankified_build/Frankified.app')
  ::Frank::Cucumber::FrankHelper.selector_engine = 'calabash_uispec'

  launcher.relaunch(options)
end