summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Fields <cyberious@users.noreply.github.com>2015-06-19 14:48:16 -0700
committerTravis Fields <cyberious@users.noreply.github.com>2015-06-19 14:48:16 -0700
commit67bc57bcb6b45bd24ef90f7902dc40558c1bc407 (patch)
tree717b5115bc78a5aa2a1d056c0284896245ddc283
parentff81517e1c957c59205a4d44659a76ee68c15a2f (diff)
parent5381dbd4b464e743bed36f6b653bddc4df688dde (diff)
Merge pull request #477 from mhaskel/aio_fix
AIO uses puppet 4 so should return true for is_future_parser_enabled
-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