delete unnecessary commentout
This commit is contained in:
parent
7649a75870
commit
378891eda7
@ -25,16 +25,16 @@ WebMock.stub(:post, "http://html_example.com/post_path").
|
|||||||
to_return(body: "success")
|
to_return(body: "success")
|
||||||
|
|
||||||
describe "Mechanize Agent test" do
|
describe "Mechanize Agent test" do
|
||||||
#it "fill and submit form" do
|
it "fill and submit form" do
|
||||||
# agent = Mechanize.new
|
agent = Mechanize.new
|
||||||
# page = agent.get("http://html_example.com/")
|
page = agent.get("http://html_example.com/")
|
||||||
# form = page.forms[0]
|
form = page.forms[0]
|
||||||
# form.field_with("name").value = "foo"
|
form.field_with("name").value = "foo"
|
||||||
# form.field_with("email").value = "bar"
|
form.field_with("email").value = "bar"
|
||||||
# page = agent.submit(form)
|
page = agent.submit(form)
|
||||||
# page.not_nil!.code.should eq 200
|
page.not_nil!.code.should eq 200
|
||||||
# page.not_nil!.body.should eq "success"
|
page.not_nil!.body.should eq "success"
|
||||||
#end
|
end
|
||||||
|
|
||||||
it "receive and send cookie" do
|
it "receive and send cookie" do
|
||||||
agent = Mechanize.new
|
agent = Mechanize.new
|
||||||
|
Loading…
Reference in New Issue
Block a user