1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

missing templates only raise Errno::ENOENT

plus that did not work anyways
This commit is contained in:
Konstantin Haase 2011-04-13 14:56:37 +02:00
parent a735e34c19
commit e2fc4b5b05

View file

@ -65,7 +65,7 @@ class CoffeeTest < Test::Unit::TestCase
mock_app {
get('/') { coffee :no_such_template }
}
assert_raise(Errno::ENOENT, ArgumentError) { get('/') }
assert_raise(Errno::ENOENT) { get('/') }
end
it "passes coffee options to the coffee engine" do