undef property specs failing with new rspec
deric opened this issue · comments
Tomas Barton commented
mesos::property
spec with :undef
added in 5e48338 are failing with STRICT_VARIABLES
on Puppet 3.
Undefined variable "value" at /home/travis/build/deric/puppet-mesos/spec/fixtures/modules/mesos/manifests/property.pp:27
# ./spec/defines/property_spec.rb:52:in `block (3 levels) in <top (required)>'
The syntax should be correct, it was introduced here.
Tomas Barton commented
@JayH5 any ideas?
Jamie Hewland commented
@deric: 😢 I don't really know. This rspec + Puppet stuff is often quite fragile. Sorry, I don't really have time to dig into this at the moment... Can maybe take a look next week.
Tomas Barton commented
@JayH5 Sure, no problem. Downgrading rspec-puppet
to < 2.4.0
seems to resolve the problem. So the problem was probably introduced somewhere here v2.3.2...v2.4.0.