diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-08 16:52:26 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-08 16:52:26 -0600 |
commit | 2be5e088d27f17cd7210cbfd227aff2e5be6b800 (patch) | |
tree | cfd72dedbc45de1f0e143bc08bf196937c4f31c2 /actionpack/test/activerecord | |
parent | ac711043ecec0dd15a159eff8081be8f10584be0 (diff) | |
download | rails-2be5e088d27f17cd7210cbfd227aff2e5be6b800.tar.gz rails-2be5e088d27f17cd7210cbfd227aff2e5be6b800.tar.bz2 rails-2be5e088d27f17cd7210cbfd227aff2e5be6b800.zip |
Use new routing dsl in tests
Diffstat (limited to 'actionpack/test/activerecord')
-rw-r--r-- | actionpack/test/activerecord/active_record_store_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/activerecord/active_record_store_test.rb b/actionpack/test/activerecord/active_record_store_test.rb index c6c079f88c..61bee1b66c 100644 --- a/actionpack/test/activerecord/active_record_store_test.rb +++ b/actionpack/test/activerecord/active_record_store_test.rb @@ -155,7 +155,7 @@ class ActiveRecordStoreTest < ActionController::IntegrationTest def with_test_route_set(options = {}) with_routing do |set| set.draw do |map| - map.connect "/:action", :controller => "active_record_store_test/test" + match ':action', :to => 'active_record_store_test/test' end @app = ActiveRecord::SessionStore.new(set, options.reverse_merge(:key => '_session_id')) yield |