Skip to content

Commit

Permalink
Update lib/generators/templates/lint/better_html_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Burns <[email protected]>
  • Loading branch information
stevepolitodesign and mike-burns authored Dec 5, 2023
1 parent 955cf84 commit 7049cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/templates/lint/better_html_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.erb_lint
end

Rails.root.glob(erb_lint.glob).each do |template|
it "raises html errors in #{template.relative_path_from(Rails.root)}" do
it "raises no html errors in #{template.relative_path_from(Rails.root)}" do
validator = BetterHtml::BetterErb::ErubiImplementation.new(template.read)

validator.validate!
Expand Down

0 comments on commit 7049cf9

Please sign in to comment.