Class: HelperTestCaseController
- Defined in:
- lib/test/rails/helper_test_case.rb
Overview
Stub controller for testing helpers.
Instance Attribute Summary collapse
-
#request ⇒ Object
Returns the value of attribute request.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#rescue_action(e) ⇒ Object
Re-raise errors.
Instance Attribute Details
#request ⇒ Object
Returns the value of attribute request.
6 7 8 |
# File 'lib/test/rails/helper_test_case.rb', line 6 def request @request end |
#url ⇒ Object
Returns the value of attribute url.
8 9 10 |
# File 'lib/test/rails/helper_test_case.rb', line 8 def url @url end |
Instance Method Details
#rescue_action(e) ⇒ Object
Re-raise errors
13 14 15 |
# File 'lib/test/rails/helper_test_case.rb', line 13 def rescue_action(e) raise e end |