rspectacular 0.17.1 → 0.18.0

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
  SHA1:
3
- metadata.gz: 34e9aedb580b5d701ee269d35f983f54a52257b0
4
- data.tar.gz: 1daeec0e0f5f6731b8dd5e53e2063a891a800c0e
3
+ metadata.gz: 4b92bb177d3af0f2e5150823369fa878ddc4f894
4
+ data.tar.gz: e5118cd94d3f6fec276e0cd312e96edfedd3bfd9
5
5
  SHA512:
6
- metadata.gz: 8ebc5fd471b19cffa339ddd543dd890db232fe50aa1e23f1f5b058479feeb5ce0899a6758870bc44cbb104c21882074fe9051522aa4c5623fa9415b06e3ac0b4
7
- data.tar.gz: 3983b416393e37549887a41dcec907d11a14d683cd5b16889a29840c1d10ea302915912088d075aa60a64d28ffb5d59206625719d5618f0ba550f2ddd720f08e
6
+ metadata.gz: 5b8e8915de0e1b8c8531d16ef5d66fba0a46ca80f575c420d6a12822b4e90f43070b6a105ff210ffd7100530a1349422df3f8f3cdbddbe41c97a80cf0d77bad2
7
+ data.tar.gz: 615f4aea27b6b230d3faf4bb0de56eb328e693a435d7e1ea5df98c45d98292aa5a58a9d4036dc54211c9151e24e525b4ad7283882bc5a7e0a87370350ebd51ef
@@ -12,8 +12,14 @@
12
12
  # The same goes for capybara-webkit. It must be required before rspectacular.
13
13
  #
14
14
  if defined?(Capybara::Driver::Base)
15
+ Capybara.register_driver :chrome do |app|
16
+ Capybara::Selenium::Driver.new(app, :browser => :chrome)
17
+ end
18
+
15
19
  if defined?(Capybara::Webkit)
16
20
  Capybara.javascript_driver = :webkit
21
+ else
22
+ Capybara.javascript_driver = :selenium
17
23
  end
18
24
 
19
25
  RSpec.configure do |config|
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.17.1'
2
+ VERSION = '0.18.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-29 00:00:00.000000000 Z
11
+ date: 2014-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec