diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-09-25 15:30:22 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-09-25 15:30:22 -0700 |
commit | 59f83153cac05d149ce782c2ce998489a8e212df (patch) | |
tree | 05f181113686c8d686ae77a9e8287b60e75f36fe /actionpack/test/dispatch | |
parent | b59faa7f4014b7fb472e787efd3907994d2bfb9f (diff) | |
download | rails-59f83153cac05d149ce782c2ce998489a8e212df.tar.gz rails-59f83153cac05d149ce782c2ce998489a8e212df.tar.bz2 rails-59f83153cac05d149ce782c2ce998489a8e212df.zip |
fixing most tests on Ruby 2.0
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/routing/inspector_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/routing/inspector_test.rb b/actionpack/test/dispatch/routing/inspector_test.rb index 97fc4f3e4b..a3034ce001 100644 --- a/actionpack/test/dispatch/routing/inspector_test.rb +++ b/actionpack/test/dispatch/routing/inspector_test.rb @@ -24,7 +24,7 @@ module ActionDispatch def test_displaying_routes_for_engines engine = Class.new(Rails::Engine) do - def self.to_s + def self.inspect "Blog::Engine" end end @@ -132,7 +132,7 @@ module ActionDispatch def test_rake_routes_shows_route_with_rack_app_nested_with_dynamic_constraints constraint = Class.new do - def to_s + def inspect "( my custom constraint )" end end |