Skip to content

Commit e39fd19

Browse files
committed
Merge pull request #119 from Iristyle/maint/master/future-parser-acceptance-fixes
(maint) fix future parser acceptance failures
2 parents 83a1091 + dbcd04a commit e39fd19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/sql_testing_helpers.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ def mount_iso(host, opts = {})
2121

2222
def install_sqlserver(host, opts = {})
2323
# this method installs SQl server on a given host
24-
features = opts[:features]
24+
features = opts[:features].map{ |x| "'#{x}'"}.join(', ')
2525
pp = <<-MANIFEST
2626
sqlserver_instance{'MSSQLSERVER':
2727
source => 'H:',
28-
features => #{features},
28+
features => [ #{features} ],
2929
security_mode => 'SQL',
3030
sa_pwd => 'Pupp3t1@',
3131
sql_sysadmin_accounts => ['Administrator'],
@@ -94,7 +94,7 @@ def base_install(sql_version)
9494
# Mount the ISO on the agent
9595
mount_iso(host, iso_opts)
9696
# Install Microsoft SQL on the agent before running any tests
97-
install_sqlserver(host, {:features => 'SQL'})
97+
install_sqlserver(host, {:features => ['SQL']})
9898
end
9999

100100
def validate_sql_install(host, opts = {}, &block)

0 commit comments

Comments
 (0)