test-unit-capybara 1.0.8 → 1.0.9
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 +4 -4
- data/doc/text/news.md +6 -0
- data/lib/test/unit/capybara.rb +2 -1
- data/lib/test/unit/capybara/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d190dfd844d16b73a084804761cfc1271c486518ed8c9d3f2ae53df5379e050
|
|
4
|
+
data.tar.gz: 185179a47db1185058c72146f7c15146c9fb4efc446962832fff17f3a45d5149
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c10565650c312b5ed69ba3d7ddf47248299744bb282795d9fa3248f2e1d4e212507aac9f3c990de9bbe10e140d0590605821403344cbd874705b26bfd8c100f6
|
|
7
|
+
data.tar.gz: c21104046cd4ca313f2ad3bef208fe2457d6c798b3e911d17c2106eaf73dabf09d9797e9d656dc6f78f9f5c49c56e69b12ad81b31684239782b6ea4a9ce92f6c
|
data/doc/text/news.md
CHANGED
data/lib/test/unit/capybara.rb
CHANGED
|
@@ -486,7 +486,8 @@ EOT
|
|
|
486
486
|
node.base.source
|
|
487
487
|
elsif node.base.respond_to?(:html)
|
|
488
488
|
node.base.html
|
|
489
|
-
elsif node.base.respond_to?(:driver)
|
|
489
|
+
elsif node.base.respond_to?(:driver) and
|
|
490
|
+
node.base.driver.respond_to?(:evaluate_script)
|
|
490
491
|
node.base.driver.evaluate_script("arguments[0].outerHTML",
|
|
491
492
|
node.base)
|
|
492
493
|
else
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2011-
|
|
1
|
+
# Copyright (C) 2011-2019 Sutou Kouhei <kou@clear-code.com>
|
|
2
2
|
#
|
|
3
3
|
# This library is free software; you can redistribute it and/or
|
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
module Test
|
|
18
18
|
module Unit
|
|
19
19
|
module Capybara
|
|
20
|
-
VERSION = "1.0.
|
|
20
|
+
VERSION = "1.0.9"
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|