Comment 0 for bug 1326034

Revision history for this message
Mathieu Gagné (mgagne) wrote :

Our gate installs and uses rspec-puppet which installs the rspec >= 2.9.

RSpec deprecated a bunch of stuff and broke rspec-puppet.

Example of broken jobs:
http://logs.openstack.org/53/82353/6/check/gate-puppet-neutron-puppet-unit-3.4/57a302d/console.html

RSpec::Puppet::ManifestMatchers::CreateGeneric implements a legacy RSpec matcher
protocol. For the current protocol you should expose the failure messages
via the `failure_message` and `failure_message_when_negated` methods.

The `:example_group` key in an example group's metadata hash is deprecated. Use the example group's hash directly for the computed keys and `:parent_example_group` to access the parent example group metadata instead.

Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /Users/mgagne/Development/Projects/StackForge/puppet-neutron/spec/unit/provider/neutron_l3_ovs_bridge/neutron_spec.rb:25:in `block (3 levels) in <top (required)>'.

Related issues in rspec-puppet project:
* https://github.com/rodjek/rspec-puppet/issues/198
* https://github.com/rodjek/rspec-puppet/pull/199
* https://github.com/rodjek/rspec-puppet/issues/200
* https://github.com/rodjek/rspec-puppet/pull/201