Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Replace deprecated fixture_path with fixure_paths

Dombi Attilaa382e82df3f9
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 58fb8e04892..aae428c1f39 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -88,7 +88,7 @@ ActiveRecord::Migration.maintain_test_schema! unless ENV['CI']
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
- config.fixture_path = "#{Rails.root.join('spec/fixtures')}"
+ config.fixture_paths = [Rails.root.join('spec/fixtures').to_s]
# Filter lines from Rails gems in backtraces.
config.filter_rails_from_backtrace!