Module: TestingBot
- Defined in:
- lib/testingbot/api.rb,
lib/testingbot/hooks.rb,
lib/testingbot/hooks.rb,
lib/testingbot/config.rb,
lib/testingbot/tunnel.rb,
lib/testingbot/jasmine.rb,
lib/testingbot/capybara.rb,
lib/testingbot/selenium.rb
Defined Under Namespace
Modules: Capybara, Jasmine, SeleniumForTestUnit
Classes: Api, Config, RailsTestCase, SeleniumWebdriver, Tunnel
Constant Summary
collapse
- @@config =
nil
Class Method Summary
collapse
Class Method Details
.config {|self.get_config| ... } ⇒ Object
12
13
14
|
# File 'lib/testingbot/config.rb', line 12
def self.config
yield self.get_config
end
|
.get_config ⇒ Object
3
4
5
6
|
# File 'lib/testingbot/config.rb', line 3
def self.get_config
@@config = TestingBot::Config.new if @@config.nil?
@@config
end
|
.reset_config! ⇒ Object
8
9
10
|
# File 'lib/testingbot/config.rb', line 8
def self.reset_config!
@@config = nil
end
|