frameworks-capybara 0.2.0.rc2 → 0.2.0.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/frameworks/cucumber.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/frameworks/cucumber.rb
CHANGED
@@ -76,7 +76,7 @@ World(Frameworks::EnvHelper)
|
|
76
76
|
Before do
|
77
77
|
#This is ugly but unavoidable since Capybara::RackTest::Driver.reset_host! does @browser = nil and wipes all brower level settings
|
78
78
|
#it was either this or a monkey patch - need to think about pushing a softer reset change to capybara-mechanize to override this
|
79
|
-
if page.driver.
|
79
|
+
if page.driver.class == Capybara::Mechanize::Driver
|
80
80
|
page.driver.browser.agent.cert, driver.browser.agent.key = ENV['FW_CERT_LOCATION'], ENV['FW_CERT_LOCATION'] if ENV['FW_CERT_LOCATION']
|
81
81
|
page.driver.browser.agent.ca_file = ENV['CA_CERT_LOCATION'] if ENV['CA_CERT_LOCATION']
|
82
82
|
page.driver.browser.agent.set_proxy('www-cache.reith.bbc.co.uk',80) if ENV['PROXY_URL']
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frameworks-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15424051
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 0.2.0.
|
11
|
+
- 3
|
12
|
+
version: 0.2.0.rc3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- matt robbins
|