Build(deps-dev): Bump mocha from 2.6.1 to 2.7.1 (#30189)

* Build(deps-dev): Bump mocha from 2.6.1 to 2.7.1

Bumps [mocha](https://github.com/freerange/mocha) from 2.6.1 to 2.7.1.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](https://github.com/freerange/mocha/compare/v2.6.1...v2.7.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* DEV: Fix spec

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Brennan <martin@discourse.org>
This commit is contained in:
dependabot[bot] 2025-01-06 12:33:05 +01:00 committed by GitHub
parent 486ff2a564
commit 27c557bc89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -254,7 +254,7 @@ GEM
ffi (~> 1.9)
minio_runner (0.1.2)
minitest (5.25.4)
mocha (2.6.1)
mocha (2.7.1)
ruby2_keywords (>= 0.0.5)
msgpack (1.7.5)
multi_json (1.15.0)

View File

@ -108,7 +108,10 @@ describe Chat::ChannelSerializer do
it "does not get the kick_message_bus_last_id" do
MessageBus.expects(:last_id).at_least_once
MessageBus.expects(:last_id).never
MessageBus
.expects(:last_id)
.with(Chat::Publisher.kick_users_message_bus_channel(chat_channel.id))
.never
expect(serializer.as_json[:meta][:message_bus_last_ids].key?(:kick)).to eq(false)
end
end