Specdoc tweaks
This commit is contained in:
parent
0b280c2f9f
commit
284b3202c4
|
@ -26,7 +26,7 @@ describe "clicks_area" do
|
|||
end
|
||||
|
||||
[200, 300, 400, 499].each do |status|
|
||||
it "should consider the status code as success" do
|
||||
it "should consider the #{status} status code as success" do
|
||||
@session.response_body = <<-EOS
|
||||
<map name="map_de" id="map_de">
|
||||
<area href="/page" title="Berlin" id="berlin" shape="poly" alt="Berlin" coords="180,89,180" />
|
||||
|
|
|
@ -55,7 +55,7 @@ describe "clicks_button" do
|
|||
end
|
||||
|
||||
[200, 300, 400, 499].each do |status|
|
||||
it "should consider the status code as success" do
|
||||
it "should consider the #{status} status code as success" do
|
||||
@session.response_body = <<-EOS
|
||||
<form action="/login">
|
||||
<input type="submit" />
|
||||
|
|
|
@ -160,7 +160,7 @@ describe "clicks_link" do
|
|||
end
|
||||
|
||||
[200, 300, 400, 499].each do |status|
|
||||
it "should consider the status code as success" do
|
||||
it "should consider the #{status} status code as success" do
|
||||
@session.response_body = <<-EOS
|
||||
<a href="/page">Link text</a>
|
||||
EOS
|
||||
|
|
|
@ -17,7 +17,7 @@ describe "visits" do
|
|||
end
|
||||
|
||||
[200, 300, 400, 499].each do |status|
|
||||
it "should consider the status code as success" do
|
||||
it "should consider the #{status} status code as success" do
|
||||
@session.response_code = status
|
||||
lambda { @session.visits("/") }.should_not raise_error
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue