Class: EditActionCustomizedBaseTest
- Inherits:
-
ActionController::TestCase
- Object
- ActionController::TestCase
- EditActionCustomizedBaseTest
- Includes:
- CarTestHelper
- Defined in:
- lib/vendor/plugins/inherited_resources/test/customized_base_test.rb
Instance Method Summary collapse
Methods included from CarTestHelper
Instance Method Details
#test_expose_the_resquested_user ⇒ Object
83 84 85 86 87 88 |
# File 'lib/vendor/plugins/inherited_resources/test/customized_base_test.rb', line 83 def test_expose_the_resquested_user Car.expects(:get).with('42').returns(mock_car) get :edit, :id => '42' assert_response :success assert_equal mock_car, assigns(:car) end |