File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,8 @@ def fixture_path
170170 RSpec . deprecate (
171171 "config.fixture_path" ,
172172 replacement : "config.fixture_paths" ,
173- message : "Rails 7.1 has deprecated the singular fixture_path in favour of an array"
173+ message : "Rails 7.1 has deprecated the singular fixture_path in favour of an array." \
174+ "You should migrate to plural:"
174175 )
175176 fixture_paths &.first
176177 end
@@ -179,7 +180,8 @@ def fixture_path=(path)
179180 RSpec . deprecate (
180181 "config.fixture_path = #{ path . inspect } " ,
181182 replacement : "config.fixture_paths = [#{ path . inspect } ]" ,
182- message : "Rails 7.1 has deprecated the singular fixture_path in favour of an array"
183+ message : "Rails 7.1 has deprecated the singular fixture_path in favour of an array." \
184+ "You should migrate to plural:"
183185 )
184186 self . fixture_paths = Array ( path )
185187 end
You can’t perform that action at this time.
0 commit comments