frameworks-capybara 0.2.0.rc2 → 0.2.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frameworks-capybara (0.2.0.rc2)
4
+ frameworks-capybara (0.2.0.rc3)
5
5
  capybara (>= 1.0.0)
6
6
  capybara-celerity
7
7
  capybara-mechanize (>= 0.3.0)
@@ -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.browser.agent.class == Mechanize
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
@@ -1,4 +1,4 @@
1
1
  module FrameworksCapybara
2
- VERSION = '0.2.0.rc2'
2
+ VERSION = '0.2.0.rc3'
3
3
  end
4
4
 
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: 15424049
4
+ hash: 15424051
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 0
10
10
  - rc
11
- - 2
12
- version: 0.2.0.rc2
11
+ - 3
12
+ version: 0.2.0.rc3
13
13
  platform: ruby
14
14
  authors:
15
15
  - matt robbins