spec/page/status_codes_spec.rb in spidr-0.6.1 vs spec/page/status_codes_spec.rb in spidr-0.7.0

- old
+ new

@@ -24,14 +24,10 @@ describe "#is_ok?" do include_examples "status code method", :is_ok?, {200 => true, 500 => false} end - describe "#timedout?" do - include_examples "status code method", :timedout?, {308 => true, 200 => false} - end - describe "#bad_request?" do include_examples "status code method", :bad_request?, {400 => true, 200 => false} end describe "#is_unauthorized?" do @@ -42,9 +38,13 @@ include_examples "status code method", :is_forbidden?, {403 => true, 200 => false} end describe "#is_missing?" do include_examples "status code method", :is_missing?, {404 => true, 200 => false} + end + + describe "#is_timedout?" do + include_examples "status code method", :is_timedout?, {408 => true, 200 => false} end describe "#had_internal_server_error?" do include_examples "status code method", :had_internal_server_error?, {500 => true, 200 => false} end