module RSpec::Rails

def fixture_path=(path)

def fixture_path=(path)
  RSpec.deprecate(
    "config.fixture_path = #{path.inspect}",
    replacement: "config.fixture_paths = [#{path.inspect}]",
    message: "Rails 7.1 has deprecated the singular fixture_path in favour of an array." \
    "You should migrate to plural:"
  )
  self.fixture_paths = Array(path)
end