Sha256: 0959bd4f3993bd5ecd2c8bac9569290d4ffbb8624a5fce63eb789a1cd4ffc858
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
require File.dirname(__FILE__) + "/spec_helper" describe "Webrat's Mechanize mode" do it "should work" do response = visit("http://localhost:9292/") response.should contain("Hello World") end it "should follow redirects" do response = visit("http://localhost:9292/internal_redirect") response.should contain("Redirected") end it "should follow links" it "should submit forms" it "should not follow external redirects" do pending do response = visit("http://localhost:9292/external_redirect") response.should contain("Foo") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mkuklis-webrat-0.6.rc1 | spec/integration/mechanize/spec/mechanize_spec.rb |