Skip to content

Commit

Permalink
using new RESTful testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mizerany committed Apr 16, 2008
1 parent abfa696 commit d7032a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/app_test.rb
Expand Up @@ -146,8 +146,7 @@
should.be.ok
body.should.equal 'response body, maybe'

get_it '/maybe', {},
'HTTP_IF_MODIFIED_SINCE' => modified_at.httpdate
get_it '/maybe', :env => { 'HTTP_IF_MODIFIED_SINCE' => modified_at.httpdate }
status.should.equal 304
body.should.equal ''
end
Expand Down

0 comments on commit d7032a0

Please sign in to comment.