From 38d5610c3a81fdfe6e58a35bfa266ddd566013d1 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Fri, 2 Jun 2017 11:32:05 -0700 Subject: [PATCH] (maint) Update test helper for SQL Server 2016 Previously the module was updated to support SQL Server 2016 for acceptance tests however one reference was missed. This commit adds the install path detection for SQL Server 2016, which is then used in acceptance tests, such as sqlserver_instance. --- spec/sql_testing_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/sql_testing_helpers.rb b/spec/sql_testing_helpers.rb index 4f7b3a3c..48c6e6e1 100644 --- a/spec/sql_testing_helpers.rb +++ b/spec/sql_testing_helpers.rb @@ -146,7 +146,7 @@ def remove_sql_instances(host, opts = {}) end def get_install_paths(version) - vers = { '2012' => '110', '2014' => '120' } + vers = { '2012' => '110', '2014' => '120', '2016' => '130' } raise 'Valid version must be specified' if ! vers.keys.include?(version)