Permalink
Browse files

added spec for reset status code

  • Loading branch information...
1 parent 5ce6058 commit c28e9a177c45b04392354f72066bf2c6af9236bb @os0x os0x committed Aug 26, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/integration/session_spec.rb
View
7 spec/integration/session_spec.rb
@@ -105,6 +105,13 @@
subject.visit '/'
subject.status_code.should == 200
end
+
+ it "should reset status code" do
+ subject.visit '/'
+ subject.status_code.should == 200
+ subject.reset!
+ subject.status_code.should == 0
+ end
end
end

0 comments on commit c28e9a1

Please sign in to comment.