fixed ambiguous negative

This commit is contained in:
Brenda Wallace
2020-08-02 14:45:55 +12:00
committed by Brenda Wallace
parent 63caea1a6a
commit f1d830bfa9

View File

@@ -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