mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
fixed ambiguous negative
This commit is contained in:
committed by
Brenda Wallace
parent
63caea1a6a
commit
f1d830bfa9
@@ -85,7 +85,7 @@ describe CropsController do
|
||||
|
||||
context 'wrangler' do
|
||||
include_context 'login as wrangler'
|
||||
it { expect { subject }.to change(Crop, :count).by -1 }
|
||||
it { expect { subject }.to change(Crop, :count).by(-1) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user