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