Skip to content

(maint) fix future parser acceptance failures #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spec/sql_testing_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ def mount_iso(host, opts = {})

def install_sqlserver(host, opts = {})
# this method installs SQl server on a given host
features = opts[:features]
features = opts[:features].map{ |x| "'#{x}'"}.join(', ')
pp = <<-MANIFEST
sqlserver_instance{'MSSQLSERVER':
source => 'H:',
features => #{features},
features => [ #{features} ],
security_mode => 'SQL',
sa_pwd => 'Pupp3t1@',
sql_sysadmin_accounts => ['Administrator'],
Expand Down Expand Up @@ -94,7 +94,7 @@ def base_install(sql_version)
# Mount the ISO on the agent
mount_iso(host, iso_opts)
# Install Microsoft SQL on the agent before running any tests
install_sqlserver(host, {:features => 'SQL'})
install_sqlserver(host, {:features => ['SQL']})
end

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