Skip to content

Commit

Permalink
Refs #36617 - use Minitest namespace, not MiniTest
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 1, 2023
1 parent dbe7a96 commit c84cd16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/jobs/stored_values_cleanup_job_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def setup
end

it 'removes expired stored values and enqueue itself' do
scope = MiniTest::Mock.new
scope = Minitest::Mock.new
scope.expect('destroy_all', nil)
StoredValue.expects(:expired).with(0).returns(scope)
@job.perform_now
Expand Down
2 changes: 1 addition & 1 deletion test/jobs/template_render_job_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def render_job(composer_params)
end

it 'render report and stores it' do
composer = MiniTest::Mock.new
composer = Minitest::Mock.new
composer.expect('render', 'result')
composer.expect('send_mail?', false)
ReportComposer.expects('new').with('foo' => 'bar', 'gzip' => false).returns(composer)
Expand Down

0 comments on commit c84cd16

Please sign in to comment.