Devise Rspec registration controller test failing on update as if it was trying to confirm email address
问题 I have the following route: devise_for :users, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks", :registrations => 'users/registrations', :sessions => "users/sessions" } and the following controller test (registrations_controller_spec.rb): require File.dirname(__FILE__) + '/../spec_helper' describe Users::RegistrationsController do include Devise::TestHelpers fixtures :all render_views before(:each) do @request.env["devise.mapping"] = Devise.mappings[:user] end describe