Class: ShowActionCustomizedBaseTest
- Inherits:
-
ActionController::TestCase
- Object
- ActionController::TestCase
- ShowActionCustomizedBaseTest
- 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
63 64 65 66 67 |
# File 'lib/vendor/plugins/inherited_resources/test/customized_base_test.rb', line 63 def test_expose_the_resquested_user Car.expects(:get).with('42').returns(mock_car) get :show, :id => '42' assert_equal mock_car, assigns(:car) end |