diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index c9edc3f..b593c5a 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -48,7 +48,7 @@ rescue ActiveRecord::PendingMigrationError => e end RSpec.configure do |config| # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures - config.fixture_path = "#{::Rails.root}/spec/fixtures" + config.fixture_path = Rails.root.join('fixtures').to_s # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false