summaryrefslogtreecommitdiff
path: root/spec/acceptance/values_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/values_spec.rb')
-rwxr-xr-xspec/acceptance/values_spec.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/spec/acceptance/values_spec.rb b/spec/acceptance/values_spec.rb
index a2eff32..cef1c9d 100755
--- a/spec/acceptance/values_spec.rb
+++ b/spec/acceptance/values_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
-describe 'values function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
+describe 'values function' do
describe 'success' do
it 'returns an array of values' do
pp = <<-EOS
@@ -13,12 +13,7 @@ describe 'values function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('oper
$output = values($arg)
notice(inline_template('<%= @output.sort.inspect %>'))
EOS
- if is_future_parser_enabled?
- expect(apply_manifest(pp, :catch_failures => true).stdout).to match(/\[1, 2, 3\]/)
- else
- expect(apply_manifest(pp, :catch_failures => true).stdout).to match(/\["1", "2", "3"\]/)
- end
-
+ expect(apply_manifest(pp, :catch_failures => true).stdout).to match(/\[1, 2, 3\]/)
end
end
describe 'failure' do