# Module controller macros
module ControllerMacros
  #  def login_user
  # before(:each) do
  #     allow(controller).to receive(:authenticate_user!).and_return true
  #     @request.env['devise.mapping'] = Devise.mappings[:user]
  #     sign_in FactoryGirl.create(:user)
  #    end
  # end
end
