Fix failing tests.
This commit is contained in:
parent
e0162df465
commit
84e1a89c44
|
@ -73,8 +73,8 @@ GEM
|
||||||
will_paginate (~> 3.0.pre)
|
will_paginate (~> 3.0.pre)
|
||||||
multi_json (0.0.5)
|
multi_json (0.0.5)
|
||||||
multipart-post (1.1.0)
|
multipart-post (1.1.0)
|
||||||
nokogiri (1.4.4)
|
nokogiri (1.4.3.1)
|
||||||
nokogiri (1.4.4-java)
|
nokogiri (1.4.3.1-java)
|
||||||
weakling (>= 0.0.3)
|
weakling (>= 0.0.3)
|
||||||
oa-core (0.2.0)
|
oa-core (0.2.0)
|
||||||
rack (~> 1.1)
|
rack (~> 1.1)
|
||||||
|
|
|
@ -29,10 +29,10 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Routes for constraints testing
|
# Routes for constraints testing
|
||||||
devise_for :admin, :path => "headquarters", :constraints => {:host => /192\.168\.1\.\d\d\d/}
|
devise_for :headquarters_admin, :class_name => "Admin", :path => "headquarters", :constraints => {:host => /192\.168\.1\.\d\d\d/}
|
||||||
|
|
||||||
constraints(:host => /192\.168\.1\.\d\d\d/) do
|
constraints(:host => /192\.168\.1\.\d\d\d/) do
|
||||||
devise_for :admin, :path => "homebase"
|
devise_for :homebase_admin, :class_name => "Admin", :path => "homebase"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Other routes for routing_test.rb
|
# Other routes for routing_test.rb
|
||||||
|
|
Loading…
Reference in New Issue