This should be `RSpec::Mocks.expect_message` since a bare `expect_message` won't work unless the user is eval'ing a block in the context of `RSpec::Mocks` (which I don't recommend).