Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
added spec for reset status code
Browse files Browse the repository at this point in the history
  • Loading branch information
os0x committed Aug 26, 2011
1 parent 5ce6058 commit c28e9a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/integration/session_spec.rb
Expand Up @@ -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

Expand Down

0 comments on commit c28e9a1

Please sign in to comment.