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:
parent
743b6631df
commit
d6edaeeaf8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue