rails-dom-testing 1.0.8 → 1.0.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ceb2764b69e17058e7a8b7f0d0baf51285ba8f44
|
4
|
+
data.tar.gz: edd0ef0b233fd1557841dcbee14e13ea77123c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2120964efb7a0514522dc818f3aacc0e29299eb98e486289837ed9c37ee3abfa8e04437e8a69f39409a60335b0c0b24bcf64b6df379b347361b4bd0d550daaac
|
7
|
+
data.tar.gz: '08af44a82eef741e961ac56a730b3a25fce4fadcbd0186bf9846aec08971ceb100e0bae2bfcef19397c2b4437132b790d4140b075308ca0e7d32b0b5ecf1d09c'
|
@@ -18,6 +18,11 @@ class AssertSelectTest < ActiveSupport::TestCase
|
|
18
18
|
# Test assert select.
|
19
19
|
#
|
20
20
|
|
21
|
+
def test_frozen_selector_substitution
|
22
|
+
render_html %Q{<div id="1">foo</div><div id="2">foo</div>}
|
23
|
+
assert_select "div:match('id', ?)".freeze, /\d+/
|
24
|
+
end
|
25
|
+
|
21
26
|
def test_assert_select
|
22
27
|
render_html %Q{<div id="1"></div><div id="2"></div>}
|
23
28
|
assert_select "div", 2
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-dom-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafael Mendonça França
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 4.2.0
|
34
|
+
version: 4.2.0
|
35
35
|
- - "<"
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '5.0'
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 4.2.0
|
44
|
+
version: 4.2.0
|
45
45
|
- - "<"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '5.0'
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.6.
|
148
|
+
rubygems_version: 2.6.12
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Dom and Selector assertions for Rails applications
|