From fe6f6046e4c5fd3ec8d335d0b10f43fae0daede8 Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Tue, 19 Mar 2019 07:22:50 +0000 Subject: [PATCH] Auto corrected by following Lint Ruby RSpecEmptyLine --- spec/controllers/crops_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/controllers/crops_controller_spec.rb b/spec/controllers/crops_controller_spec.rb index cb8e5a502..d9dce9b9e 100644 --- a/spec/controllers/crops_controller_spec.rb +++ b/spec/controllers/crops_controller_spec.rb @@ -59,6 +59,7 @@ describe CropsController do describe 'DELETE destroy' do subject { delete :destroy, params: { slug: crop.to_param } } + let!(:crop) { FactoryBot.create :crop } context 'not logged in' do