rspec 2.14 の構文に問題があります。RSpec コントローラーはうまく機能しますが、別の構文が必要です。
describe Frontend::UsersController, type: :controller do
describe 'POST "create"' do
subject { post :create, user: { login: email } }
context 'with valid attributes' do
let(:email) { FactoryGirl.attributes_for(:user)[:email] }
it { expect{ subject }.to change{ User.count }.by(1) }
it { expect(subject).to redirect_to(root_path) }
変更とリダイレクトのメソッドに異なる構文が必要なのはなぜですか?