spec/path_spec.rb in joshbuddy-usher-0.1.2 vs spec/path_spec.rb in joshbuddy-usher-0.2.0

- old
+ new

@@ -21,13 +21,13 @@ it "should add every kind of optional route possible" do route_set.add_route('/a/b(/c)(/d(/e))') route_set.routes.first.paths.collect{|a| a.parts }.should == [ ["a", "b"], + ["a", "b", "c", "d"], + ["a", "b", "d", "e"], ["a", "b", "c"], ["a", "b", "d"], - ["a", "b", "d", "e"], - ["a", "b", "c", "d"], ["a", "b", "c", "d", "e"] ] end \ No newline at end of file