Changeset 169

Show
Ignore:
Timestamp:
07/20/08 22:41:43 (6 months ago)
Author:
pwh
Message:

More changes forgotten from last checkin *facepalm*

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nethorus/test/functional/device_admin_controller_test.rb

    • Property svn:mergeinfo set
    r130 r169  
    2828require File.dirname(__FILE__) + '/../test_helper' 
    2929 
    30 class DevicesControllerTest < ActionController::TestCase 
     30class DeviceAdminControllerTest < ActionController::TestCase 
    3131 
    3232 
    33   # Validate the routing of actions in the Devices controller 
     33  # Validate the routing of actions in the Device Admin controller 
    3434 
    3535  def test_manage_actions 
    3636 
    37     assert_routing 'devices', { :controller => 'devices', :action => 'index' } 
    38     assert_routing 'devices/show/1', { :controller => 'devices', :action => 'show', :id => '1' } 
    39     assert_routing 'devices/edit/1', { :controller => 'devices', :action => 'edit', :id => '1' } 
    40     assert_routing 'devices/destroy/1', { :controller => 'devices', :action => 'destroy', :id => '1' } 
     37    assert_routing 'admin/device', { :controller => 'device_admin', :action => 'index' } 
     38    assert_routing 'admin/device/1', { :controller => 'device_admin', :action => 'edit', :device_id => '1' } 
    4139 
    4240  end