Permalink
Browse files

fix tests for 1.9

  • Loading branch information...
1 parent ace8e6d commit da5876de559c46fcc1ecf30920e8ef18a22d8626 @rkh rkh committed Sep 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/multi_route_spec.rb
View
@@ -5,7 +5,7 @@
before do
count = 0
mock_app do
- set(:some_condition) { count += 1 }
+ set(:some_condition) { |_| count += 1 }
register Sinatra::MultiRoute
get('/') { 'normal' }
get('/foo', '/bar', :some_condition => true) { 'paths' }

0 comments on commit da5876d

Please sign in to comment.