Commit Graph

11 Commits

Author SHA1 Message Date
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