' do         before do           allow(User)             .to receive_message_chain(:current, :logged?)             .and_return true            allow(User)             .to receive_message_chain(:current, :allowed_to?)           