Sha256: 4035a2bd88235b1270e83ab0016de15a33dac95ff4202ea1d85166169fad5b0d

Contents?: true

Size: 661 Bytes

Versions: 28

Compression:

Stored size: 661 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 host_redirect
    redirect_to submit_url
  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

  def within
  end

end

Version data entries

28 entries across 28 versions & 14 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/spec/integration/rails/app/controllers/webrat_controller.rb
indirect-webrat-0.7.5 spec/integration/rails/app/controllers/webrat_controller.rb
indirect-webrat-0.7.4 spec/integration/rails/app/controllers/webrat_controller.rb
webrat-0.7.3 spec/integration/rails/app/controllers/webrat_controller.rb
jbd-webrat-0.7.2.rails3 spec/integration/rails/app/controllers/webrat_controller.rb
webrat-0.7.2 spec/integration/rails/app/controllers/webrat_controller.rb
webrat-0.7.2.beta.2 spec/integration/rails/app/controllers/webrat_controller.rb
mutle-webrat-0.7.2.beta.1 spec/integration/rails/app/controllers/webrat_controller.rb
thoughtbot-webrat-0.7.2.pre spec/integration/rails/app/controllers/webrat_controller.rb
webrat-0.7.2.beta.1 spec/integration/rails/app/controllers/webrat_controller.rb
honkster-webrat-0.7.1.2 spec/integration/rails/app/controllers/webrat_controller.rb
honkster-webrat-0.7.1.1 spec/integration/rails/app/controllers/webrat_controller.rb
revo-webrat-0.7.0.1 spec/integration/rails/app/controllers/webrat_controller.rb
webrat-0.7.1 spec/integration/rails/app/controllers/webrat_controller.rb
davidtrogers-webrat-0.7.0 spec/integration/rails/app/controllers/webrat_controller.rb
revo-webrat-0.7.0 spec/integration/rails/app/controllers/webrat_controller.rb
revo-webrat-0.7.1.pre spec/integration/rails/app/controllers/webrat_controller.rb
webrat-0.7.0 spec/integration/rails/app/controllers/webrat_controller.rb
honkster-webrat-0.6.0.10 spec/integration/rails/app/controllers/webrat_controller.rb
honkster-webrat-0.6.0.9 spec/integration/rails/app/controllers/webrat_controller.rb