Skip to content

Commit

Permalink
Add require "jets/spec/helpers" to generated spec_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
genail committed Jan 23, 2019
1 parent e497298 commit 270fa0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/jets/commands/templates/skeleton/spec/spec_helper.rb.tt
Expand Up @@ -10,6 +10,8 @@ require "jets"
abort("The Jets environment is running in production mode!") if Jets.env == "production"
Jets.boot

require "jets/spec/helpers"

<% if @webpacker -%>
require 'capybara/rspec'
Capybara.app = Jets.application
Expand Down

0 comments on commit 270fa0b

Please sign in to comment.