capybara-webkit 1.10.0 → 1.10.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfe45069f7c609493f80959297ea7d06b1cba3f6
4
- data.tar.gz: 144cd7bbc569e2ba13898e82ef283c0ba7bfdcd4
3
+ metadata.gz: 8664c429a83754314c0b409b07013200d282d031
4
+ data.tar.gz: 2902f49510d8f3e563d11e11b81efe619bd2c07b
5
5
  SHA512:
6
- metadata.gz: 67ece91583df2ece012ee3ed52f31388ab07fa06216f66466c07b33dfab3b0daecbd97726ebd7376d57ff712ad201e152780edf36a4daa0635a564aaa19a2ed7
7
- data.tar.gz: ee13cf5f47fb27b8ffc044bf4e592df638e7963647432255ec9744c016453291b3cfa72b64b4091e9cfab63ca7dd2f91e3dc249007feb9eb30018f694138f3e2
6
+ metadata.gz: cef230fdc4f09cfb27790b12f99ace94b504542918e24e4d235be462e61bffd10fb693ac15e7638bc9e9efd9b161f64465cddd1b37831440830940d5ce706d25
7
+ data.tar.gz: 882dfbd5e4ce1fddb34bfe5d8c54472873cda907082a8a5abb00625c6a91eddb15651ac5b4aac58729d1bd012369cea2981c5762c7f3fb42ee6f2d80e07a0646
data/NEWS.md CHANGED
@@ -1,3 +1,7 @@
1
+ New for 1.10.1:
2
+
3
+ * Pass default Server to Connection when not user provided
4
+
1
5
  New for 1.10.0:
2
6
 
3
7
  * Capybara 2.7 compatibility
@@ -13,7 +13,7 @@ module Capybara::Webkit
13
13
  @app = app
14
14
  @options = options.dup
15
15
  @options[:server] ||= Server.new(options)
16
- @browser = options[:browser] || Browser.new(Connection.new(options))
16
+ @browser = options[:browser] || Browser.new(Connection.new(@options))
17
17
  apply_options
18
18
  end
19
19
 
@@ -1,7 +1,7 @@
1
1
  module Capybara
2
2
  module Driver
3
3
  class Webkit
4
- VERSION = "1.10.0".freeze
4
+ VERSION = "1.10.1".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -16,6 +16,15 @@ describe Capybara::Webkit::Driver do
16
16
  "#{AppRunner.app_host}#{path}"
17
17
  end
18
18
 
19
+ context "configuration" do
20
+ let(:options) { AppRunner.configuration.to_hash }
21
+
22
+ it "configures server automatically" do
23
+ expect { Capybara::Webkit::Driver.new(AppRunner.app, options) }.
24
+ to_not raise_error
25
+ end
26
+ end
27
+
19
28
  context "iframe app" do
20
29
  let(:driver) do
21
30
  driver_for_app do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-webkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoughtbot