duanhong169/sample_app — comment on commit 626ca03124b9a9e644cfba590191e1df648b3a17
File: spec/requests/authentication_pages_spec.rb line 55
By duanhong169:

You should use "let(:user) { FactoryGirl.create(:user) }" instead.