mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 06:52:41 +08:00
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:
parent
486ff2a564
commit
27c557bc89
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user