Commit Graph

6 Commits

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