Skip to content

Commit

Permalink
Verify the mock
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Aug 16, 2023
1 parent 70966ea commit f7ab093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/jobs/start_publishing_pipeline_job_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
PublishingPipelineState.stub :start_pipeline!, mock do
StartPublishingPipelineJob.perform_now(create(:podcast))
end

mock.verify
end
end

0 comments on commit f7ab093

Please sign in to comment.