rally-jasmine 1.2.0 → 1.2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jasmine/selenium_driver.rb +4 -2
- data/lib/jasmine/version.rb +1 -1
- metadata +2 -2
@@ -18,10 +18,12 @@ module Jasmine
|
|
18
18
|
profile.enable_firebug
|
19
19
|
{:profile => profile}
|
20
20
|
end || {}
|
21
|
+
http_client = Selenium::WebDriver::Remote::Http::Default.new
|
22
|
+
http_client.timeout = 120 # seconds
|
21
23
|
@driver = if selenium_server
|
22
|
-
Selenium::WebDriver.for :remote, :url => selenium_server, :desired_capabilities => browser.to_sym
|
24
|
+
Selenium::WebDriver.for :remote, :url => selenium_server, :desired_capabilities => browser.to_sym, :http_client => http_client
|
23
25
|
else
|
24
|
-
Selenium::WebDriver.for browser.to_sym, options
|
26
|
+
Selenium::WebDriver.for browser.to_sym, options.merge(:http_client => http_client)
|
25
27
|
end
|
26
28
|
@http_address = http_address
|
27
29
|
end
|
data/lib/jasmine/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rally-jasmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0
|
4
|
+
version: 1.2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-10-
|
15
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rspec
|