webrat/spec/integration/rails/app/controllers/webrat_controller.rb
2009-01-04 23:56:52 -05:00

18 lines
238 B
Ruby

class WebratController < ApplicationController
def form
end
def submit
render :text => "OK"
end
def internal_redirect
redirect_to :submit
end
def external_redirect
redirect_to "http://google.com"
end
end