diff options
author | David Schmitt <david.schmitt@puppet.com> | 2016-10-25 15:28:40 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppet.com> | 2016-10-25 15:28:40 +0100 |
commit | ea929418c6c539fe6aa6506e520c5fe8fe68559f (patch) | |
tree | b1492eaf80e23f7e4d8f12894baf6e1b7b171996 /spec/spec_helper_local.rb | |
parent | 1e9128ffc890463880041690e508d7ac1d320ea5 (diff) |
(MODULES-3980) Fix ipv4 regex validator
This also updates all ipv4 tests to use the same test data for better
comparability. Closes #676, #679
Fix-Originally-By: Nate Potter <nathaniel.potter@intel.com>
Diffstat (limited to 'spec/spec_helper_local.rb')
-rw-r--r-- | spec/spec_helper_local.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper_local.rb b/spec/spec_helper_local.rb index 023a862..616490c 100644 --- a/spec/spec_helper_local.rb +++ b/spec/spec_helper_local.rb @@ -1,3 +1,5 @@ +# automatically load any shared examples or contexts +Dir["./spec/support/**/*.rb"].sort.each { |f| require f } # hack to enable all the expect syntax (like allow_any_instance_of) in rspec-puppet examples RSpec::Mocks::Syntax.enable_expect(RSpec::Puppet::ManifestMatchers) |