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:
parent
a735e34c19
commit
e2fc4b5b05
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue