rspec-html-matchers 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/spec/spec_helper.rb +2 -3
- metadata +19 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8be66d725f89beeac9807e254253f19f9a4f9309
|
4
|
+
data.tar.gz: 0652146df0dca81d60e2f1b420660ebcc0307d8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 134663281de1d4af000d01ecd68eee731941e1f20c132f0a9e1fb4a3294dc0968f34dceb701ff836c907a664a95cf561bcd2692537afd67fe688d5bd5bdf1f5e
|
7
|
+
data.tar.gz: 599a0dd8096dbc6c1e19d8524d8b81351e1c37386a84a9dde242af9769e00d1a5066fbce7692df9e7030008c5dd525ab2aa855665404cf3343ef3d5295b39686
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -149,7 +149,7 @@ Input could be any html string. Let's take a look at these examples:
|
|
149
149
|
end
|
150
150
|
|
151
151
|
# mymock.text == 'Some content here'
|
152
|
-
expect('<p> Some content here</p>').to have_tag('p', :
|
152
|
+
expect('<p> Some content here</p>').to have_tag('p', :text => mymock.text)
|
153
153
|
# or
|
154
154
|
expect('<p> Some content here</p>').to have_tag('p') do
|
155
155
|
with_content mymock.text
|
@@ -227,7 +227,7 @@ Contributors
|
|
227
227
|
MIT Licensed
|
228
228
|
============
|
229
229
|
|
230
|
-
Copyright (c) 2011-
|
230
|
+
Copyright (c) 2011-2016 Dmitrij Mjakotnyi
|
231
231
|
|
232
232
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
233
233
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
if defined?(SimpleCov)
|
2
2
|
SimpleCov.start do
|
3
3
|
add_group 'Main', '/lib/'
|
4
|
-
add_filter
|
4
|
+
add_filter '/spec/'
|
5
5
|
end
|
6
6
|
end
|
7
7
|
|
8
8
|
require 'rspec-html-matchers'
|
9
9
|
|
10
|
-
Dir[File.expand_path(
|
10
|
+
Dir[File.expand_path('../../spec/support/**/*.rb', __FILE__)].each { |f| require f }
|
11
11
|
|
12
12
|
RSpec.configure do |config|
|
13
|
-
|
14
13
|
config.include RSpecHtmlMatchers
|
15
14
|
|
16
15
|
config.expect_with :rspec do |c|
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-html-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kucaahbe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.0.0.a
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '4'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.0.a
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '4'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: nokogiri
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,8 +142,10 @@ dependencies:
|
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
144
|
version: '1'
|
139
|
-
description:
|
140
|
-
|
145
|
+
description: 'Nokogiri based ''have_tag'' and ''with_tag'' matchers for rspec 3. Does
|
146
|
+
not depend on assert_select matcher, provides useful error messages.
|
147
|
+
|
148
|
+
'
|
141
149
|
email:
|
142
150
|
- kucaahbe@ukr.net
|
143
151
|
executables: []
|
@@ -177,16 +185,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
185
|
version: '0'
|
178
186
|
requirements: []
|
179
187
|
rubyforge_project: rspec-html-matchers
|
180
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.5.1
|
181
189
|
signing_key:
|
182
190
|
specification_version: 4
|
183
191
|
summary: Nokogiri based 'have_tag' and 'with_tag' matchers for rspec 3
|
184
192
|
test_files:
|
193
|
+
- spec/form_matchers_spec.rb
|
185
194
|
- spec/have_tag_spec.rb
|
195
|
+
- spec/spec_helper.rb
|
186
196
|
- spec/support/asset_helpers.rb
|
187
197
|
- spec/support/raise_spec_error_helper.rb
|
188
|
-
- spec/form_matchers_spec.rb
|
189
|
-
- spec/spec_helper.rb
|
190
198
|
- features/step_definitions/steps.rb
|
191
199
|
- features/support/env.rb
|
192
200
|
- features/js_generated_content.feature
|