Files
openfoodnetwork/spec/controllers/registration_controller_spec.rb
2014-09-11 17:58:05 +10:00

9 lines
245 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: "signup?after_login=/register")
end
end