Skip to content

Commit

Permalink
Don't set default options
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca authored Mar 14, 2024
1 parent bcc4987 commit 2b25533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class ErbImplementationTest < ActiveSupport::TestCase
pathname = Pathname.new(filename).relative_path_from(Rails.root)
test "html errors in #{pathname}" do
data = File.read(filename)
BetterHtml::BetterErb::ErubiImplementation.new(data, config: BetterHtml.config, filename:).validate!
BetterHtml::BetterErb::ErubiImplementation.new(data, filename:).validate!
end
end
end
Expand All @@ -262,7 +262,7 @@ RSpec.describe "BetterHtml" do
Dir[erb_glob].each do |filename|
data = File.read(filename)
expect {
BetterHtml::BetterErb::ErubiImplementation.new(data, config: BetterHtml.config, filename:).validate!
BetterHtml::BetterErb::ErubiImplementation.new(data, filename:).validate!
}.not_to raise_exception
end
end
Expand Down

0 comments on commit 2b25533

Please sign in to comment.