From 0209a2c72115c733538e52fbd5787e1e0b085983 Mon Sep 17 00:00:00 2001 From: Jo Liss Date: Thu, 12 Jan 2012 18:29:57 +0100 Subject: [PATCH] Revert "Use method="post"." This reverts commit 3f2e0288caaae3660fcb68b54eaef3321c500ea7. --- lib/capybara/spec/test_app.rb | 4 ---- lib/capybara/spec/views/host_links.erb | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/capybara/spec/test_app.rb b/lib/capybara/spec/test_app.rb index e507481d..01579633 100644 --- a/lib/capybara/spec/test_app.rb +++ b/lib/capybara/spec/test_app.rb @@ -40,10 +40,6 @@ class TestApp < Sinatra::Base "Current host is #{request.scheme}://#{request.host}:#{request.port}" end - post '/host' do - "Current host is #{request.scheme}://#{request.host}:#{request.port}" - end - get '/redirect/:times/times' do times = params[:times].to_i if times.zero? diff --git a/lib/capybara/spec/views/host_links.erb b/lib/capybara/spec/views/host_links.erb index 878eabfb..2051cdd3 100644 --- a/lib/capybara/spec/views/host_links.erb +++ b/lib/capybara/spec/views/host_links.erb @@ -3,10 +3,10 @@ Absolute Host

-
+

-
+