Skip to content

Commit ad27c14

Browse files
castor4bitpirj
authored andcommitted
Use slash-separated path in Rails.root.join
1 parent 1426035 commit ad27c14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/generators/rspec/install/templates/spec/rails_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
RSpec.configure do |config|
3535
<% if RSpec::Rails::FeatureCheck.has_active_record? -%>
3636
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
37-
config.fixture_path = Rails.root.join('spec', 'fixtures')
37+
config.fixture_path = Rails.root.join('spec/fixtures')
3838
3939
# If you're not using ActiveRecord, or you'd prefer not to run each of your
4040
# examples within a transaction, remove the following line or assign false
@@ -52,7 +52,7 @@
5252
# note if you'd prefer not to run each example within a transaction, you
5353
# should set use_transactional_fixtures to false.
5454
#
55-
# config.fixture_path = Rails.root.join('spec', 'fixtures')
55+
# config.fixture_path = Rails.root.join('spec/fixtures')
5656
# config.use_transactional_fixtures = true
5757
5858
<% end -%>

0 commit comments

Comments
 (0)