diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-17 16:30:53 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-17 16:30:53 -0700 |
commit | c42db41f54adbcd981cbd4cc725e342fb3591176 (patch) | |
tree | 4a3d7f70adf3659c89a70d17a3159b72fde8ea12 /actionpack/test/controller | |
parent | 1ce74b009f0a5bbb9e5f5fe1c037c77437fd0be9 (diff) | |
download | rails-c42db41f54adbcd981cbd4cc725e342fb3591176.tar.gz rails-c42db41f54adbcd981cbd4cc725e342fb3591176.tar.bz2 rails-c42db41f54adbcd981cbd4cc725e342fb3591176.zip |
routes are always constructed with a hash for the conditions
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/resources_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb index 04d6cc1792..2bdbbad38c 100644 --- a/actionpack/test/controller/resources_test.rb +++ b/actionpack/test/controller/resources_test.rb @@ -505,7 +505,7 @@ class ResourcesTest < ActionController::TestCase routes = @routes.routes routes.each do |route| routes.each do |r| - next if route === r # skip the comparison instance + next if route == r # skip the comparison instance assert_not_equal [route.conditions, route.path.spec.to_s], [r.conditions, r.path.spec.to_s] end end |