Add failing specs for scope and relative url#2173
Add failing specs for scope and relative url#2173LTe wants to merge 1 commit intoheartcombo:masterfrom LTe:relative_url_and_scope
Conversation
|
Thanks for the pull request but I don't understand how the test is supposed to pass. You are setting a route scoped to "scoped" and then What am I missing? |
|
When I set scope 'foo/bar' do
# routes
endWhen I define devise inside scope 'foo/bar' do
devise_for :users
endthen devise will generate |
That is not supposed to be true. Setting the |
When I use in application
and in my routes
devise double render
relativepart of URL. I am including a test that does not pass.test_returns_to_the_default_redirect_location_considering_the_relative_url_root_and_scope(FailureTest) [/home/lite/work/devise/test/failure_app_test.rb:67]: <"http://test.host/scoped/scoped_admin/sign_in"> expected but was <"http://test.host/scoped/scoped/scoped_admins/sign_in">.