1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Remove trailing whitespaces

This commit is contained in:
Konstantin Shabanov 2012-07-18 23:07:24 +04:00
parent 762967f8aa
commit 498bad9105
16 changed files with 66 additions and 66 deletions

View file

@ -47,13 +47,13 @@ class RouteAddedHookTest < Test::Unit::TestCase
assert_equal [["GET", "/"], ["HEAD", "/"]],
RouteAddedTest.routes
end
it "should pass route blocks as an argument" do
mock_app(Class.new(Sinatra::Base)) do
register RouteAddedTest
get('/') {}
end
assert_kind_of Proc, RouteAddedTest.procs.first
assert_kind_of Proc, RouteAddedTest.procs.first
end
end