Module: HandyControllerHelpers::MainHelpers
- Included in:
- AllHelpers
- Defined in:
- lib/handy_controller_helpers/main_helpers.rb
Instance Method Summary collapse
Instance Method Details
#redirect_to?(path) ⇒ Boolean
8 9 10 |
# File 'lib/handy_controller_helpers/main_helpers.rb', line 8 def redirect_to?(path) expect(response).to redirect_to(path) end |
#template?(template) ⇒ Boolean
4 5 6 |
# File 'lib/handy_controller_helpers/main_helpers.rb', line 4 def template?(template) expect(response).to render_template template end |