test/unit/sinatra_app_tests.rb in deas-0.17.1 vs test/unit/sinatra_app_tests.rb in deas-0.18.0
- old
+ new
@@ -56,10 +56,10 @@
end
end
should "define Sinatra routes for every route in the configuration" do
get_routes = subject.routes[@route.method.to_s.upcase] || []
- sinatra_route = get_routes.detect{|route| route[0].match(@route.path) }
+ sinatra_route = get_routes.detect{ |route| route[0].match(@route.path) }
assert_not_nil sinatra_route
end
end