Fix spec tests for RSpec 3.x and Puppet 4.x
Fix spec tests for RSpec 3.x and Puppet 4.x

Rix resource array, according[1].
[1]https://github.com/puppetlabs/puppet/blob/3.7.5/lib/puppet/resource.rb#L446-L453

Change-Id: I3b18a184d340d0597efa8e094a887f8a10478744
Closes-bug: #1447620

toby82/puppet-ironic,trown/puppet-ironic,rdo-puppet-modules/puppet-ironic,fuel-infra/puppet-ironic,openstack/puppet-ironic,toby82/puppet-ironic,openstack/puppet-ironic,rdo-puppet-modules/puppet-ironic,fuel-infra/puppet-ironic,trown/puppet-ironic,fuel-infra/puppet-ironic,openstack/puppet-ironic,trown/puppet-ironic