Rename to Kemal::Exceptions::InvalidPathStartException

This commit is contained in:
sdogruyol 2016-11-04 11:49:11 +03:00
parent e6810c4516
commit 87d88318de
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ describe "Route" do
end
it "doesn't allow a route declaration start without /" do
expect_raises Kemal::Exceptions::PathStartInvalidException, "Route declaration get \"route\" needs to start with '/', should be get \"/route\"" do
expect_raises Kemal::Exceptions::InvalidPathStartException, "Route declaration get \"route\" needs to start with '/', should be get \"/route\"" do
get "route" do |env|
"Route 1"
end