Skip to content

Commit 0a6e70b

Browse files
committed
(maint) Remove instance during acceptance tests
Previously during the sqlserver_config acceptance tests multiple database instances were being created, instead of destroyed, for example a datbase instance of 'abseny' was being created. This commit fixes this test fixture failure by calling the ensure_sqlserver_instance helper method with the correct parameters to remove an instance.
1 parent 4992522 commit 0a6e70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/sqlserver_config_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def ensure_sqlserver_instance(inst_name, ensure_val = 'present')
4646

4747
after(:all) do
4848
# remove the newly created instance
49-
ensure_sqlserver_instance('absent')
49+
ensure_sqlserver_instance(inst_name, 'absent')
5050
end
5151

5252
it 'Create New Admin Login:', :tier_low => true do

0 commit comments

Comments
 (0)