Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Ch 9. set_user_session is not used #60

Open
JunichiIto opened this issue May 3, 2015 · 0 comments
Open

Ch 9. set_user_session is not used #60

JunichiIto opened this issue May 3, 2015 · 0 comments

Comments

@JunichiIto
Copy link

After the chapter 9, set_user_session is not used anymore:

08_features...09_speedup

However it can be used in users_controller_spec:

describe UsersController do
  describe 'user access' do
    before :each do
      @user = create(:user)
      # session[:user_id] = @user.id
      set_user_session(@user)
    end

Please consider to keep on using it or remove it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant