We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a910a2 commit ebba92cCopy full SHA for ebba92c
test/test_helper.rb
@@ -252,15 +252,15 @@ def convert_from_real_to_query_safe(string)
252
duplicate = string.dup.to_s
253
254
UNSAFE_TO_SAFE_STRING_MAPPINGS.keys.each_with_object(duplicate) do |key, new_string|
255
- new_string = new_string.gsub(key, UNSAFE_TO_SAFE_STRING_MAPPINGS[key])
+ new_string.gsub(key, UNSAFE_TO_SAFE_STRING_MAPPINGS[key])
256
end
257
258
259
def convert_from_query_safe_to_real(string)
260
261
262
SAFE_TO_UNSAFE_STRING_MAPPINGS.keys.each_with_object(duplicate) do |key, new_string|
263
- new_string = new_string.gsub(key, SAFE_TO_UNSAFE_STRING_MAPPINGS[key])
+ new_string.gsub(key, SAFE_TO_UNSAFE_STRING_MAPPINGS[key])
264
265
266
0 commit comments