Skip to content

Commit

Permalink
Update rails_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Feb 10, 2024
1 parent 335be45 commit 193d994
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
end
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_paths = Rails.root.join("spec/fixtures")
if config.respond_to? :fixture_paths
config.fixture_paths = Rails.root.join("spec/fixtures")
else
config.fixture_path = Rails.root.join("spec/fixtures")
end

# RSpec Rails can automatically mix in different behaviours to your tests
# based on their file location, for example enabling you to call `get` and
Expand Down

0 comments on commit 193d994

Please sign in to comment.