1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test
elij 869fbb427f fix for weird last_modified behavior, and duplicative work
fix for issue #180
The api should be passed an object that supports .to_time. If it happens
to be something else, make a best effort to convert it to a time object (such
as if a string is passed in -- which happens in a few of the tests).

Failing conversion, the rescue stanza will result in an http 200
response, which should be a 'safe' thing to do.

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2011-02-10 09:12:18 +01:00
..
public
views
base_test.rb
builder_test.rb
coffee_test.rb
contest.rb
encoding_test.rb
erb_test.rb
erubis_test.rb
extensions_test.rb
filter_test.rb
haml_test.rb
hello.mab
helper.rb
helpers_test.rb
less_test.rb
liquid_test.rb
mapped_error_test.rb
markaby_test.rb
markdown_test.rb
middleware_test.rb
nokogiri_test.rb
radius_test.rb
rdoc_test.rb
request_test.rb
response_test.rb
result_test.rb
route_added_hook_test.rb
routing_test.rb
sass_test.rb
scss_test.rb
server_test.rb
settings_test.rb
sinatra_test.rb
slim_test.rb
static_test.rb
templates_test.rb
textile_test.rb