Module: VRaptorMatchers
- Defined in:
- lib/spec/vraptor/matchers.rb
Defined Under Namespace
Classes: RedirectTo, Render
Instance Method Summary collapse
Instance Method Details
#redirect_to(expected) ⇒ Object
17 18 19 |
# File 'lib/spec/vraptor/matchers.rb', line 17 def redirect_to(expected) RedirectTo.new(expected) end |
#render(expected) ⇒ Object
40 41 42 |
# File 'lib/spec/vraptor/matchers.rb', line 40 def render(expected) Render.new(expected) end |