Commit 84bd330 1 parent b04780f commit 84bd330 Copy full SHA for 84bd330
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,8 @@ def fixture_path
170
170
RSpec . deprecate (
171
171
"config.fixture_path" ,
172
172
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:"
174
175
)
175
176
fixture_paths &.first
176
177
end
@@ -179,7 +180,8 @@ def fixture_path=(path)
179
180
RSpec . deprecate (
180
181
"config.fixture_path = #{ path . inspect } " ,
181
182
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:"
183
185
)
184
186
self . fixture_paths = Array ( path )
185
187
end
You can’t perform that action at this time.
0 commit comments