Fix rspec deprecation warnings
Fix rspec deprecation warnings

Recent versions of rspec raised a deprecation warning of the following
when running the tests:

    `expect(collection_owner).to have(2).landscapes` is deprecated. Use the
    rspec-collection_matchers gem or replace your expectation with something
    like `expect(collection_owner.landscapes.size).to eq(2)` instead.

Use the new version and not the deprecated version to test the number of
elements in a collection.

stschulte/puppet-nimsoft,stschulte/puppet-nimsoft