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
1 changed files with 1 additions and 1 deletions

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