Skip to content

Commit

Permalink
Merge pull request #1247 from alphagov/dependabot/bundler/minitest-5.…
Browse files Browse the repository at this point in the history
…19.0

Bump minitest from 5.18.1 to 5.19.0
  • Loading branch information
AgaDufrat authored Aug 3, 2023
2 parents 56214e6 + 24a9637 commit eac6806
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ GEM
mime-types-data (3.2023.0218.1)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.18.1)
minitest (5.19.0)
mocha (2.1.0)
ruby2_keywords (>= 0.0.5)
msgpack (1.6.0)
Expand Down
6 changes: 3 additions & 3 deletions test/unit/post_out_of_sync_deploys_service_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ class PostOutOfSyncDeploysServiceTest < ActiveSupport::TestCase
team: "#govuk-publishing-platform" }],
}

find_service_mock = MiniTest::Mock.new
find_service_mock = Minitest::Mock.new
find_service_mock.expect(:call, teams_out_of_sync_deploys)

slack_poster_mock = MiniTest::Mock.new
slack_poster_mock = Minitest::Mock.new
expected_args = [
"Hello :paw_prints:, this is your regular badgering to deploy!\n" \
"\n" \
Expand Down Expand Up @@ -55,7 +55,7 @@ class PostOutOfSyncDeploysServiceTest < ActiveSupport::TestCase
}
FindOutOfSyncDeploysService.any_instance.stubs(:call).returns(teams_out_of_sync_deploys)

slack_poster_mock = MiniTest::Mock.new
slack_poster_mock = Minitest::Mock.new
expected_message_one_args = [
"Hello :paw_prints:, this is your regular badgering to deploy!\n" \
"\n" \
Expand Down
2 changes: 1 addition & 1 deletion test/unit/tasks/post_out_of_sync_deploys_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def setup
end

test "it should call PostOutOfSyncDeploysService" do
post_out_of_sync_deploys_service_mock = MiniTest::Mock.new
post_out_of_sync_deploys_service_mock = Minitest::Mock.new
post_out_of_sync_deploys_service_mock.expect(:call, nil)

PostOutOfSyncDeploysService.stub(:call, post_out_of_sync_deploys_service_mock) do
Expand Down

0 comments on commit eac6806

Please sign in to comment.