Sha256: 0c8ff541673e4878c1469ad9a5ad76086722b18d810888c8b993966a619712c1
Contents?: true
Size: 605 Bytes
Versions: 3
Compression:
Stored size: 605 Bytes
Contents
class FakeModel def id nil end end class WebratController < ApplicationController def form end def submit render :text => "OK <a href='/' id='link_id'>Test Link Text</a>" end def internal_redirect redirect_to submit_path end def infinite_redirect redirect_to infinite_redirect_path end def external_redirect redirect_to "http://google.com" end def before_redirect_form end def redirect_to_show_params redirect_to show_params_path(:custom_param => "123") end def show_params render :text => params.to_json end end
Version data entries
3 entries across 3 versions & 3 rubygems