govuk_test 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4386c88a47187189fe8ee1ea5cbca6d18fc210afc6a90b3189841eee9f5f2ad5
4
- data.tar.gz: 721435357bb0c7af31ea7176a52e3c26172d567deb413f3f167d8519c1db9c0b
3
+ metadata.gz: f79d22e1b156c1e4ff6a1250fc28eda990c9b682dd3c59dc78e45a6474aada35
4
+ data.tar.gz: 2af7a1516085ac4305516f7d2afeec6ae33d92efce8c72340318451991e2c200
5
5
  SHA512:
6
- metadata.gz: 4ecaa5c6505e4c2337cb1ebfd41061a60122c7da016ec00da77061f66426d6a133eaeca1133d8e71868c07578d13ac410ff0d9b5ef191ea080b6a4e1d43aea0c
7
- data.tar.gz: cf2f91beb074be94a6b24fbc3f82229776c1ed952029a6285440ad084ccc9f13d74aee2df685e9210b34315a2efd390b49df6a8e1d67be82c5ef430e4e19dbea
6
+ metadata.gz: be9329ffff9b305364b06f7e93a14b76de832be83cddf2bb1e9c58f00306cfe050118a2893c0560b6fb09fcae7ad0219bfaa00b3b71a81ee575ea820d0ce28f2
7
+ data.tar.gz: 1dc15284d7dc2584166e94a69c016038d3ed9240e4c793200648c7e6ec204a1e0c3c7c088cf856b7e119b1f4deed85dd8ed0a2e9e20aa739338ea14fe39fd6b2
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@
7
7
  useful summary for people upgrading their application, not a replication
8
8
  of the commit log.
9
9
 
10
+ ## 0.3.1
11
+
12
+ * Revert "Don't force use of chromedriver-helper" - which seems to break apps in CI
13
+
10
14
  ## 0.3.0
11
15
 
12
16
  * Don't download chromedriver if it's already available.
data/govuk_test.gemspec CHANGED
@@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency "capybara"
26
26
  spec.add_dependency "chromedriver-helper"
27
- spec.add_dependency "ptools"
28
27
  spec.add_dependency "puma"
29
28
  spec.add_dependency "selenium-webdriver"
30
29
 
@@ -1,3 +1,3 @@
1
1
  module GovukTest
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
data/lib/govuk_test.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require "govuk_test/version"
2
2
 
3
3
  require "capybara"
4
- require "ptools"
5
4
  require "puma"
5
+ require "chromedriver-helper"
6
6
  require "selenium-webdriver"
7
7
 
8
8
  module GovukTest
@@ -10,14 +10,6 @@ module GovukTest
10
10
  chrome_options = %w(headless disable-gpu)
11
11
  chrome_options << "--window-size=#{options[:window_size]}" if options[:window_size]
12
12
 
13
- chromedriver_from_path = File.which("chromedriver")
14
- if chromedriver_from_path
15
- # Use the installed chromedriver, rather than chromedriver-helper
16
- Selenium::WebDriver::Chrome.driver_path = chromedriver_from_path
17
- else
18
- require 'chromedriver-helper'
19
- end
20
-
21
13
  Capybara.register_driver :headless_chrome do |app|
22
14
  capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
23
15
  chromeOptions: { args: chrome_options }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-06 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: ptools
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: puma
57
43
  requirement: !ruby/object:Gem::Requirement