spec: better split spec_helper and rails_helper
This fixes the > DEPRECATION WARNING: Initialization autoloaded the constants ActionText::ContentHelper and ActionText::TagHelper. error appearing when running specs. It also gets us closer from a newly-generated rails config.
This commit is contained in:
parent
71c4ce67b2
commit
f9401cfbad
8 changed files with 110 additions and 113 deletions
3
spec/support/factory_bot.rb
Normal file
3
spec/support/factory_bot.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
RSpec.configure do |config|
|
||||
config.include FactoryBot::Syntax::Methods
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue