Support mocha >=1.10
As per https://projects.theforeman.org/issues/28417 we restrict the gem version to lower versions since the newest ones break our tests.
We need to review and rewrite our tests to support the newer versions.
The regression introduced in mocha v1.10.0 which led to its version
being pinned to v1.9.0 was fixed in mocha v1.11.2 which is currently the
latest version, so it is nowsafe to unpin the version.
Requiring 'mocha/setup' was deprecated in v1.10.0, so I've also fixed
that with the change to `test/test_helper.rb`.
#10 Updated by James Mead 14 days ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|c70052c12b427191d63e86348c1b089ea806738a.