diff options
Diffstat (limited to 'spec/workers/create_evidence_worker_spec.rb')
-rw-r--r-- | spec/workers/create_evidence_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/create_evidence_worker_spec.rb b/spec/workers/create_evidence_worker_spec.rb index 364b2098251..9b8314122cd 100644 --- a/spec/workers/create_evidence_worker_spec.rb +++ b/spec/workers/create_evidence_worker_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' describe CreateEvidenceWorker do let!(:release) { create(:release) } - it 'creates a new Evidence' do - expect { described_class.new.perform(release.id) }.to change(Evidence, :count).by(1) + it 'creates a new Evidence record' do + expect { described_class.new.perform(release.id) }.to change(Releases::Evidence, :count).by(1) end end |