1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix failing test case on master

It turned out that I overlook at some replacements ..
This commit is contained in:
Prem Sichanugrist 2011-04-11 12:35:20 +07:00 committed by Aaron Patterson
parent 743b6631df
commit d6edaeeaf8
2 changed files with 2 additions and 2 deletions

View file

@ -496,7 +496,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
resources :todos, :id => /\d+/
end
scope '/countries/:country', :constraints => lambda { |params, req| params[:country].either?("all", "france") } do
scope '/countries/:country', :constraints => lambda { |params, req| params[:country].either?("all", "France") } do
match '/', :to => 'countries#index'
match '/cities', :to => 'countries#cities'
end

View file

@ -105,7 +105,7 @@ module ActiveSupport
def normalize_boundary_map
@ucd.boundary.each do |k,v|
if k.in(:lf, :cr)
if [:lf, :cr].include? k
@ucd.boundary[k] = v[0]
end
end