Commit Graph

24 Commits

Author SHA1 Message Date
Vipul A M 23c2e197c8 - Removed test-unit dependency
- updated minitest to 5.0
- Removed Test::Unit::TestCase and started using Minitest::Test instead
- Fixed usage of assert_raise
- Fixed usage of refute_nil
- Fixed and removed usage of assert_nothing_raised
2015-01-11 01:00:47 +05:30
Patricio Mac Adden 33b0da7ca5 Remove trailing whitespaces 👮 [ci skip] 2013-09-16 10:02:43 -03:00
Florian René Hanke 2791c293c4 Handle the case of /:name.:format parsing /file.tar.gz 2013-03-21 15:53:53 +11:00
Florian René Hanke 3be9e098a6 Added test for case described in 688 2013-03-21 10:03:22 +11:00
Konstantin Haase 62639dba3d more failing tests related to #688 2013-03-20 10:43:12 +01:00
Konstantin Haase 52033e5e4d add non-failing related tests 2013-03-20 10:37:42 +01:00
Konstantin Haase b08af687c3 add failing test for #688 2013-03-20 10:27:05 +01:00
Konstantin Haase 8dcb3f6ead make sure we support escaped new lines, closes #568 2013-01-26 10:45:33 +01:00
Zoltan Dezso f079ce18fe [FIX] Make route parsing regex more robust
- fixes sinatra/sinatra/#611
- adds support for case-insensitive URL encoding
2013-01-17 13:50:57 +09:00
Konstantin Shabanov 498bad9105 Remove trailing whitespaces 2012-07-18 23:07:24 +04:00
Florian Hanke 57babc51fc at least it fails already 2012-06-18 17:05:42 +10:00
Florian Hanke 57fc08d3dd use a method that identifies an array also in 1.8.7 2012-06-18 16:51:25 +10:00
Florian Hanke 98ef21b4cc "splat" param now contains all matches in an array, föö test now conforms to the original one 2012-06-18 16:43:14 +10:00
Florian Hanke de21260531 unless nil? -> if 2012-06-18 15:31:03 +10:00
Florian Hanke e3d9e012ad fixed test method, fixed test examples that should parse 2012-06-18 15:29:10 +10:00
Florian Hanke 9f0849986b marked test that fails in 1.8 2012-06-18 15:10:40 +10:00
Florian Hanke 6462a00d75 . 2012-06-18 15:04:54 +10:00
Florian Hanke be59b2b791 also test if the correct regexp is generated, refactored test methods 2012-06-18 14:56:22 +10:00
Florian Hanke 540b171e25 test rewritten, uses DSL as described in https://github.com/sinatra/sinatra/pull/492#issuecomment-5069108 2012-06-17 22:23:26 +10:00
Florian Hanke dfa8409352 /:foo still parses /foo.bar correctly 2012-03-24 07:06:07 +11:00
Florian Hanke 31d640a5b3 possibly fixed a path pattern compilaction bug, added a commented spec for :name(.:format)?
(see https://gist.github.com/2154980#gistcomment-169469 on the second part)
2012-03-23 15:38:21 +11:00
Florian Hanke 6404e3de6c grouping the path pattern examples by regexp, use \A...\z instead of ^...$ 2012-03-23 15:14:18 +11:00
Florian Hanke 3a8f40f684 all but one example of the path pattern compilation tests work 2012-03-23 11:49:56 +11:00
Florian Hanke e2a020ca8e set up "working" tests for path pattern compilation
Note: We can optimize the tests by compiling only once for each group of examples
2012-03-23 11:49:42 +11:00