Module: Sauce

Defined in:
lib/sauce.rb,
lib/sauce/job.rb,
lib/sauce/heroku.rb,
lib/sauce/config.rb,
lib/sauce/client.rb,
lib/sauce/connect.rb,
lib/sauce/capybara.rb,
lib/sauce/selenium.rb,
lib/sauce/utilities.rb,
lib/sauce/integrations.rb,
lib/sauce/integrations.rb,
lib/sauce/integrations.rb,
lib/generators/sauce/install/install_generator.rb

Defined Under Namespace

Modules: Capybara, Generators, SeleniumForTestUnit, SeleniumForTestUnitClassMethods, Utilities Classes: Client, Config, Connect, Job, RailsTestCase, Selenium, Selenium2

Constant Summary

@@cached_sessions =
{}

Class Method Summary (collapse)

Class Method Details

+ (Object) cached_session(opts)



12
13
14
# File 'lib/sauce.rb', line 12

def self.cached_session(opts)
  @@cached_sessions[opts] or new_session(opts)
end

+ (Object) config {|@cfg| ... }

Yields:

  • (@cfg)


6
7
8
9
# File 'lib/sauce/config.rb', line 6

def self.config
  @cfg = Sauce::Config.new(false)
  yield @cfg
end

+ (Object) get_config



11
12
13
# File 'lib/sauce/config.rb', line 11

def self.get_config
  @cfg
end