Skip to content

Commit

Permalink
unneeded compile
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy committed May 31, 2010
1 parent 7322cea commit 0f18137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/recognize_spec.rb
Expand Up @@ -155,7 +155,7 @@
end

it "should recognize '/:test.:format'" do
route = @router.add('/:test.:format').compile.to(:test)
route = @router.add('/:test.:format').to(:test)
response = @router.recognize(Rack::MockRequest.env_for('/hey.html'))
response.route.should == route
response.params_as_hash[:format].should == 'html'
Expand Down

0 comments on commit 0f18137

Please sign in to comment.