Skip to content

Commit

Permalink
Lint Generator: Fix generated spec
Browse files Browse the repository at this point in the history
The generated spec raised an error because `Rails.root` failed to load.
Loading `rails_helper` fixed this issue.
  • Loading branch information
stevepolitodesign committed Mar 21, 2024
1 parent f3f4480 commit 5799575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/generators/templates/lint/better_html_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "spec_helper"
require "rails_helper"

describe "ERB Implementation" do
def self.erb_lint
Expand Down

0 comments on commit 5799575

Please sign in to comment.