diff options
author | Jurriaan Pruis <email@jurriaanpruis.nl> | 2012-04-03 15:16:09 +0200 |
---|---|---|
committer | Jurriaan Pruis <email@jurriaanpruis.nl> | 2012-04-03 15:16:09 +0200 |
commit | 2d8396fc9fbea9189e9e945e41e643925da5b2cb (patch) | |
tree | 9185737cf020abf95ab2bad80c1bdc281c441808 /actionpack/lib/action_dispatch/testing/assertions | |
parent | 0cc6c5fec235cca6d7eb85d4f849536db8566e93 (diff) | |
download | rails-2d8396fc9fbea9189e9e945e41e643925da5b2cb.tar.gz rails-2d8396fc9fbea9189e9e945e41e643925da5b2cb.tar.bz2 rails-2d8396fc9fbea9189e9e945e41e643925da5b2cb.zip |
Updated/changed useless tr/gsubs
Diffstat (limited to 'actionpack/lib/action_dispatch/testing/assertions')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/response.rb b/actionpack/lib/action_dispatch/testing/assertions/response.rb index bea54f9778..7ac5f1d0e8 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/response.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/response.rb @@ -83,7 +83,7 @@ module ActionDispatch refer else @controller.url_for(fragment) - end.gsub(/[\0\r\n]/, '') + end.delete("\0\r\n") end end end |