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 +4 -4
- data/lib/rspectacular/plugins/capybara.rb +6 -0
- data/lib/rspectacular/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b92bb177d3af0f2e5150823369fa878ddc4f894
|
4
|
+
data.tar.gz: e5118cd94d3f6fec276e0cd312e96edfedd3bfd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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|
|
data/lib/rspectacular/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2014-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|