From da2cf937aa68c2470c0d4a73c29fe3555b2667c0 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 29 May 2014 15:45:42 -0700 Subject: no more is_a checks on instantiation --- actionpack/test/journey/path/pattern_test.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'actionpack/test') diff --git a/actionpack/test/journey/path/pattern_test.rb b/actionpack/test/journey/path/pattern_test.rb index cdb3cdad7b..9dfdfc23ed 100644 --- a/actionpack/test/journey/path/pattern_test.rb +++ b/actionpack/test/journey/path/pattern_test.rb @@ -75,10 +75,6 @@ module ActionDispatch end end - def test_to_raise_exception_with_bad_expression - assert_raise(ArgumentError, "Bad expression: []") { Pattern.new [] } - end - def test_to_regexp_with_extended_group strexp = Router::Strexp.build( '/page/:name', -- cgit v1.2.3