I have the following code inside most of my tests:
describe \'index\' let(:company) { FactoryGirl.create(:company) } let(:user) { FactoryGirl.create(:user,
Taking into account Peter's answer I think the correct way is to access the user in a before each block:
before(:each) do sign_in user end