http://labfurwl6xt24teypo5hb7vjoyf3ituolpebdnfgvkqrt765mo6574qd.onion/FreakU/Retrospring/commit/08c7908b524ef2c81beb3cf5592a0e9b427c26a8
" , } , } end @ -115,4 +140,20 @@ describe User::RegistrationsController, type: :controller do end end end describe " # new " do subject { get :new } context " when registrations are disabled " do before do allow ( APP_CONFIG ) . to receive ( :dig ) . with ( :hcaptcha , :enabled ) . and_return ( false ) allow ( APP_CONFIG ) . to receive ( :dig ) . with ( :features , :registration , :enabled ) . and_return ( false ) end it " redirects to the root page " do subject expect ( response ) . to redirect_to (...