summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMorgan Haskel <morgan@puppetlabs.com>2015-06-19 14:29:42 -0700
committerMorgan Haskel <morgan@puppetlabs.com>2015-06-19 14:29:42 -0700
commit5381dbd4b464e743bed36f6b653bddc4df688dde (patch)
tree717b5115bc78a5aa2a1d056c0284896245ddc283 /spec
parentff81517e1c957c59205a4d44659a76ee68c15a2f (diff)
AIO uses puppet 4 so should return true for is_future_parser_enabled
Diffstat (limited to 'spec')
-rwxr-xr-xspec/spec_helper_acceptance.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index 3d9574b..39d2d52 100755
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -43,7 +43,9 @@ RSpec.configure do |c|
end
def is_future_parser_enabled?
- if default[:default_apply_opts]
+ if default[:type] == 'aio'
+ return true
+ elsif default[:default_apply_opts]
return default[:default_apply_opts][:parser] == 'future'
end
return false