From e2fc4b5b059aaa9e7672d078bd8cbd4279254d4f Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Wed, 13 Apr 2011 14:56:37 +0200 Subject: [PATCH] missing templates only raise Errno::ENOENT plus that did not work anyways --- test/coffee_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/coffee_test.rb b/test/coffee_test.rb index 84cdd106..c8c84429 100644 --- a/test/coffee_test.rb +++ b/test/coffee_test.rb @@ -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