mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
9 lines
244 B
Ruby
9 lines
244 B
Ruby
require 'spec_helper'
|
|
|
|
describe RegistrationController do
|
|
it "redirects to authentication page when user not logged in" do
|
|
get :index
|
|
response.should redirect_to registration_auth_path(anchor: "login?after_login=/register")
|
|
end
|
|
end
|