minitest-have_tag 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0e81fcc535cc8aa06f7ca58c684346bebf51bd19
4
+ data.tar.gz: 864ff70023d0a4f7a89f2595e02e6ba3f50488e1
5
+ SHA512:
6
+ metadata.gz: 493f7085a0ebec29b0fb34068a1b4b5971caebc97deef51b1543ae07e3acc0eb51c91cda757dc9bb6fb97953d0b7abefd05f5b737dd2f224dadc1d4432b1f865
7
+ data.tar.gz: a9c0e8a3c18da870c21d0822fad7752458dbedff39263832143f4c02fc81c76943ad90b3efa7b36af25e0fbc86f606d033d44ec48a93d6ae4478207ece8624c7
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ before_install: gem install bundler -v 1.10.3
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in minitest-have_tag.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Kematzy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,209 @@
1
+ # Minitest::HaveTag
2
+
3
+ Adds methods to Minitest to test for existence of HTML tags, including contents, within a provided
4
+ string.
5
+
6
+ Currently adds the following methods:
7
+
8
+ ### Minitest::Assertions
9
+
10
+ * **`:assert_have_tag(actual, expected, contents = nil, msg = nil)`**
11
+
12
+ * **`:refute_have_tag(actual, expected, contents = nil, msg = nil)`**
13
+
14
+ ### Minitest::Expectations
15
+
16
+ * **actual.`must_have_tag(expected, contents = nil, msg = nil)`**
17
+
18
+ * **actual.`wont_have_tag(expected, contents = nil, msg = nil)`**
19
+
20
+ <br>
21
+ ---
22
+
23
+ ## Installation
24
+
25
+ Add this line to your application's Gemfile:
26
+
27
+ ```ruby
28
+ gem 'minitest-have_tag'
29
+ ```
30
+
31
+ And then execute:
32
+
33
+ $ bundle
34
+
35
+ Or install it yourself as:
36
+
37
+ $ gem install minitest-have_tag
38
+
39
+ <br>
40
+ ---
41
+
42
+
43
+ ## Usage
44
+
45
+ Add the gem to your **Gemfile** or **.gemspec** file and then load the gem in your `spec_helper.rb`
46
+ file as follows:
47
+
48
+ ```ruby
49
+ # <snip...>
50
+
51
+ require 'minitest/autorun'
52
+
53
+ # load assert_have_tag() support
54
+ require 'minitest/have_tag'
55
+
56
+ # <snip...>
57
+ ```
58
+
59
+ Adding the above to your `spec_helper.rb` file automatically adds the key helper methods to the
60
+ `Minitest::Assertions` to test for existence of HTML tag, including contents, within the provided
61
+ String.
62
+
63
+ <br>
64
+
65
+ ### `assert_have_tag()`
66
+
67
+ ```ruby
68
+ assert_have_tag('<br>', 'br') #=>
69
+
70
+ # check for CSS :class attribute
71
+ assert_have_tag('<hr class="divider">', 'hr.divider')
72
+ assert_have_tag('<hr class="divider">', 'hr[@class=divider]')
73
+
74
+ # check for CSS :id attribute
75
+ assert_have_tag('<hr id="divider">', 'hr#divider')
76
+ assert_have_tag('<hr id="divider">', 'hr[@id=divider]')
77
+
78
+ # check for contents within a <div...>
79
+ assert_have_tag('<div class="row">contents</div>', 'hr.row', 'contents')
80
+
81
+ html = <<-HTML
82
+ <div id="intro" class="row">
83
+ <div class="col-md-12">
84
+ <h1>Header</h1>
85
+ </div>
86
+ </div>
87
+ HTML
88
+
89
+ #
90
+ assert_have_tag(html, 'div#intro.row > .col-md-12 > h1', 'Header')
91
+
92
+ ```
93
+
94
+ Produces an extensive error message when something is wrong
95
+
96
+ ```ruby
97
+ assert_have_tag('<br>', 'brr')
98
+ #=> 'Expected "<br>" to have tag ["brr"], but no such tag was found'
99
+ ```
100
+
101
+ <br>
102
+
103
+ ### `:refute_have_tag()`
104
+
105
+ Method to test for non-existence of the expected HTML tag, including contents,
106
+ within the provided string.
107
+
108
+ ```ruby
109
+ refute_have_tag('<abbr>', 'br') #=>
110
+
111
+ # check for CSS :class attribute
112
+ refute_have_tag('<hr class="divider">', 'hr.space')
113
+ refute_have_tag('<hr class="divider">', 'hr[@class=space]')
114
+
115
+ # check for CSS :id attribute
116
+ refute_have_tag('<hr id="divider">', 'hr#space')
117
+ refute_have_tag('<hr id="divider">', 'hr[@id=space]')
118
+
119
+ # check for contents within a <div...>
120
+ refute_have_tag('<div class="row">contents</div>', 'hr.row', '<h1>Header</h1>')
121
+
122
+ html = <<-HTML
123
+ <div id="intro" class="row">
124
+ <div class="col-md-12">
125
+ <h1>Header</h1>
126
+ </div>
127
+ </div>
128
+ HTML
129
+ #
130
+ refute_have_tag(html, 'div#intro.row > .col-md-12 > h1', 'Header')
131
+ ```
132
+
133
+ Produces an extensive error message when something is wrong:
134
+
135
+ ```ruby
136
+ refute_have_tag('<br>', 'br')
137
+ #=> 'Expected "<br>" to NOT have tag ["br"], but such a tag was found'
138
+ ```
139
+
140
+
141
+ <br>
142
+ ---
143
+
144
+ ## Dependencies
145
+
146
+ This Gem depends upon the following:
147
+
148
+ ### Runtime:
149
+
150
+ * minitest
151
+ * nokogiri
152
+
153
+
154
+ ### Development & Tests:
155
+
156
+ * bundler (~> 1.10)
157
+ * rake (~> 10.0)
158
+ * minitest-hooks
159
+ * minitest-rg
160
+
161
+ * simplecov
162
+
163
+
164
+ <br>
165
+
166
+
167
+ ## Development
168
+
169
+ After checking out the repo, run `bundle install` to install dependencies. Then, run
170
+ `bundle exec rake spec` to run the tests.
171
+
172
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new
173
+ version, update the version number in `version.rb`, and then run `bundle exec rake release`, which
174
+ will create a git tag for the version, push git commits and tags, and push the `.gem` file to
175
+ [rubygems.org](https://rubygems.org).
176
+
177
+ <br>
178
+
179
+
180
+ ## Contributing
181
+
182
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/kematzy/minitest-have_tag).
183
+
184
+ This project is intended to be a safe, welcoming space for collaboration, and contributors are
185
+ expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
186
+
187
+ <br>
188
+
189
+
190
+ ## Note on Patches/Pull Requests
191
+
192
+ * Fork the project.
193
+ * Make your feature addition or bug fix in a separate branch.
194
+ * Add spec tests for it. This is important so I don't break it in a future version unintentionally.
195
+ * Commit, do not mess with Rakefile, version, or history.
196
+ * (if you want to have your own version, that is fine but bump version in a commit by itself
197
+ I can ignore when I pull)
198
+ * Send me a pull request. Bonus points for topic branches.
199
+
200
+
201
+ <br>
202
+
203
+
204
+ ## Copyright
205
+
206
+ Copyright (c) 2015 Kematzy
207
+
208
+ Released under the MIT License. See LICENSE for further details.
209
+
@@ -0,0 +1,28 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:spec) do |t|
5
+ t.libs << 'spec'
6
+ t.libs << 'lib'
7
+ t.test_files = FileList['spec/**/*_spec.rb']
8
+ end
9
+
10
+ task :default => :spec
11
+
12
+ desc 'Run specs with coverage'
13
+ task :coverage do
14
+ ENV['COVERAGE'] = '1'
15
+ Rake::Task['spec'].invoke
16
+ # `open coverage/index.html` # if OSX
17
+ end
18
+
19
+ desc 'Run Rubocop report'
20
+ task :rubocop do
21
+ res = `which rubocop`
22
+ if res != ""
23
+ `rubocop -f html -o ./rubocop/report.html lib/`
24
+ # `open rubocop/report.html` # if OSX
25
+ else
26
+ puts "\nERROR: 'rubocop' gem is not installed or available. Please install with 'gem install rubocop'."
27
+ end
28
+ end
@@ -0,0 +1,163 @@
1
+ require 'minitest'
2
+ require 'minitest/have_tag/version'
3
+
4
+ module Minitest::Assertions
5
+ require 'nokogiri'
6
+
7
+ # Method to test for existence of HTML tag, including contents, within the provided string.
8
+ #
9
+ # assert_have_tag('<br>', 'br') #=>
10
+ #
11
+ # # check for CSS :class attribute
12
+ # assert_have_tag('<hr class="divider">', 'hr.divider')
13
+ # assert_have_tag('<hr class="divider">', 'hr[@class=divider]')
14
+ #
15
+ # # check for CSS :id attribute
16
+ # assert_have_tag('<hr id="divider">', 'hr#divider')
17
+ # assert_have_tag('<hr id="divider">', 'hr[@id=divider]')
18
+ #
19
+ # # check for contents within a <div...>
20
+ # assert_have_tag('<div class="row">contents</div>', 'hr.row', 'contents')
21
+ #
22
+ # html = <<-HTML
23
+ # <div id="intro" class="row">
24
+ # <div class="col-md-12">
25
+ # <h1>Header</h1>
26
+ # </div>
27
+ # </div>
28
+ # HTML
29
+ # #
30
+ # assert_have_tag(html, 'div#intro.row > .col-md-12 > h1', 'Header')
31
+ #
32
+ #
33
+ # Produces an extensive error message when something is wrong
34
+ #
35
+ # assert_have_tag('<br>', 'brr')
36
+ # #=> 'Expected "<br>" to have tag ["brr"], but no such tag was found'
37
+ #
38
+ #
39
+ def assert_have_tag(actual, expected, contents = nil, msg = nil)
40
+ msg = msg.nil? ? '' : "#{msg}\n"
41
+ msg << "Expected #{actual.inspect} to have tag [#{expected.inspect}]"
42
+
43
+ doc = Nokogiri::HTML(actual)
44
+ res = doc.css(expected)
45
+
46
+ if res.empty?
47
+ msg << ', but no such tag was found'
48
+ matching = false
49
+ else
50
+ # such a tag was found
51
+ matching = true
52
+
53
+ if contents
54
+ if contents.is_a?(String)
55
+ if res.inner_html == contents
56
+ matching = true
57
+ else
58
+ msg << " with contents [#{contents.inspect}], but the tag content is [#{res.inner_html}]"
59
+ matching = false
60
+ end
61
+ elsif contents.is_a?(Regexp)
62
+ if res.inner_html =~ contents
63
+ matching = true
64
+ else
65
+ msg << " with inner_html [#{res.inner_html}],"
66
+ msg << " but did not match Regexp [#{contents.inspect}]"
67
+ matching = false
68
+ end
69
+ else
70
+ msg << ", ERROR: contents is neither String nor Regexp, it's [#{contents.class}]"
71
+ matching = false
72
+ end
73
+ else
74
+ # no contents given, so ignore
75
+ end
76
+ end
77
+ assert matching, msg
78
+ end
79
+
80
+ # Method to test for non-existence of the expected HTML tag, including contents,
81
+ # within the provided string.
82
+ #
83
+ # refute_have_tag('<abbr>', 'br') #=>
84
+ #
85
+ # # check for CSS :class attribute
86
+ # refute_have_tag('<hr class="divider">', 'hr.space')
87
+ # refute_have_tag('<hr class="divider">', 'hr[@class=space]')
88
+ #
89
+ # # check for CSS :id attribute
90
+ # refute_have_tag('<hr id="divider">', 'hr#space')
91
+ # refute_have_tag('<hr id="divider">', 'hr[@id=space]')
92
+ #
93
+ # # check for contents within a <div...>
94
+ # refute_have_tag('<div class="row">contents</div>', 'hr.row', '<h1>Header</h1>')
95
+ #
96
+ # html = <<-HTML
97
+ # <div id="intro" class="row">
98
+ # <div class="col-md-12">
99
+ # <h1>Header</h1>
100
+ # </div>
101
+ # </div>
102
+ # HTML
103
+ # #
104
+ # refute_have_tag(html, 'div#intro.row > .col-md-12 > h1', 'Header')
105
+ #
106
+ #
107
+ # Produces an extensive error message when something is wrong
108
+ #
109
+ # refute_have_tag('<br>', 'br')
110
+ # #=> 'Expected "<br>" to NOT have tag ["br"], but such a tag was found'
111
+ #
112
+ #
113
+ def refute_have_tag(actual, expected, contents = nil, msg = nil)
114
+ msg = msg.nil? ? '' : "#{msg}\n"
115
+ msg << "Expected #{actual.inspect} to NOT have tag [#{expected.inspect}]"
116
+
117
+ doc = Nokogiri::HTML(actual)
118
+ res = doc.css(expected)
119
+
120
+ # if res has something within it that means we have mostly a match,
121
+ # so now we need to check contents
122
+ unless res.empty?
123
+ msg << ', but such a tag was found'
124
+ matching = true
125
+
126
+ if contents
127
+ if contents.is_a?(String)
128
+ if res.inner_html == contents
129
+ matching = true
130
+ else
131
+ msg << " with contents [#{contents.inspect}], but the tag content is [#{res.inner_html}]"
132
+ matching = false
133
+ end
134
+ elsif contents.is_a?(Regexp)
135
+ if res.inner_html =~ contents
136
+ matching = true
137
+ else
138
+ msg << " with inner_html [#{res.inner_html}],"
139
+ msg << " but did not match Regexp [#{contents.inspect}]"
140
+ matching = false
141
+ end
142
+ else
143
+ msg << ", ERROR: contents is neither String nor Regexp, it's [#{contents.class}]"
144
+ matching = false
145
+ end
146
+ else
147
+ # no contents given, so ignore
148
+ end
149
+
150
+ else
151
+ # such a tag was found, BAD
152
+ matching = false
153
+ end
154
+ refute matching, msg
155
+ end
156
+
157
+ end
158
+
159
+ # add support for Spec syntax
160
+ module Minitest::Expectations
161
+ infect_an_assertion :assert_have_tag, :must_have_tag, :reverse
162
+ infect_an_assertion :refute_have_tag, :wont_have_tag, :reverse
163
+ end
@@ -0,0 +1,8 @@
1
+
2
+ module Minitest
3
+
4
+ module HaveTag
5
+ VERSION = "0.1.0"
6
+ end
7
+
8
+ end
@@ -0,0 +1,43 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'minitest/have_tag/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'minitest-have_tag'
8
+ spec.version = Minitest::HaveTag::VERSION
9
+ spec.authors = ['Kematzy']
10
+ spec.email = ['kematzy@gmail.com']
11
+
12
+ spec.summary = %q{Minitest assertions for testing HTML output}
13
+ spec.description = %q{Adds Minitest assertion for testing HTML output, including contents, within a provided string}
14
+ spec.homepage = 'http://github.com/kematzy/minitest-have_tag'
15
+ spec.license = 'MIT'
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|features)/}) }
26
+ spec.bindir = 'exe'
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ['lib']
29
+
30
+ spec.add_runtime_dependency 'minitest'
31
+ spec.add_runtime_dependency 'nokogiri'
32
+
33
+
34
+ spec.add_development_dependency 'bundler', '~> 1.10'
35
+ spec.add_development_dependency 'rake', '~> 10.0'
36
+ # spec.add_development_dependency 'minitest'
37
+ spec.add_development_dependency 'minitest-assert_errors'
38
+ spec.add_development_dependency 'minitest-hooks'
39
+ spec.add_development_dependency 'minitest-rg'
40
+ spec.add_development_dependency 'rack-test'
41
+ spec.add_development_dependency 'simplecov'
42
+
43
+ end
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minitest-have_tag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kematzy
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-01-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.10'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-assert_errors
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-hooks
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest-rg
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rack-test
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: Adds Minitest assertion for testing HTML output, including contents,
140
+ within a provided string
141
+ email:
142
+ - kematzy@gmail.com
143
+ executables: []
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".gitignore"
148
+ - ".travis.yml"
149
+ - CODE_OF_CONDUCT.md
150
+ - Gemfile
151
+ - LICENSE.txt
152
+ - README.md
153
+ - Rakefile
154
+ - lib/minitest/have_tag.rb
155
+ - lib/minitest/have_tag/version.rb
156
+ - minitest-have_tag.gemspec
157
+ homepage: http://github.com/kematzy/minitest-have_tag
158
+ licenses:
159
+ - MIT
160
+ metadata: {}
161
+ post_install_message:
162
+ rdoc_options: []
163
+ require_paths:
164
+ - lib
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ requirements: []
176
+ rubyforge_project:
177
+ rubygems_version: 2.5.1
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: Minitest assertions for testing HTML output
181
+ test_files: []