Commit Graph

4 Commits

Author SHA1 Message Date
elij e16bc71590 Explicitly handle the exception for failed loading.
The exception handler was only catching RuntimeError, which probably
should not be caught by the harness (so a test fails), when it should
have been catching LoadError exceptions (module not present to test).

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2011-01-31 10:34:41 +01:00
Ryan Tomayko 4d7d3636af Revert "remove erubis test (let tilt handle this)"
This reverts commit 3ac8cb76da.

Oops. I meant to take this out after adding the development
dependencies. I still don't think it would be a bad idea to remove
the template-engine specific tests from Sinatra, but I think
we should do it across all engines, not just erubis.
2010-01-28 07:42:19 -08:00
Ryan Tomayko 3ac8cb76da remove erubis test (let tilt handle this) 2010-01-28 06:22:02 -08:00
Dylan Egan 1b2ab3a269 ERubis support in to sinatra. With tests!
Signed-off-by: Simon Rozet <simon@rozet.name>
2009-10-18 01:04:54 +02:00