This PR adds a working, and much more enhanced, test framework. I've reverted part of #57 to get this working, that confine method should never have been put in there and if we had had testing, it would have been spotted ;)
Other enhancements:
Fixed spec_helper to modify the ruby load path, just setting Puppet[:modulepath] is not enough
Spec test for puppet/parser/functions/nested_value fixed (re-written as a puppet-rspec function test)
Test matrix expanded for Ruby 1.9, 2.0, 2.1 2.2 and Puppet 3.7, 3.8 , 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
This PR adds a working, and much more enhanced, test framework. I've reverted part of #57 to get this working, that
confine
method should never have been put in there and if we had had testing, it would have been spotted ;)Other enhancements:
spec_helper
to modify the ruby load path, just settingPuppet[:modulepath]
is not enoughpuppet/parser/functions/nested_value
fixed (re-written as a puppet-rspec function test)All tests are passing now.