Added platforms to kitchen testing

Change-Id: I6bca21fb348c53996abd3ec53ed7d9c072549120
diff --git a/src/com/mirantis/mk/Ruby.groovy b/src/com/mirantis/mk/Ruby.groovy
index 4ab5a3f..c9b7e45 100644
--- a/src/com/mirantis/mk/Ruby.groovy
+++ b/src/com/mirantis/mk/Ruby.groovy
@@ -37,17 +37,22 @@
 /**
  * Run kitchen tests in tests/integration
  */
-def runKitchenTests(){
-    runKitchenCommand("converge")
-    runKitchenCommand("verify -t tests/integration")
+def runKitchenTests(platform){
+    runKitchenCommand("converge ${platform}")
+    runKitchenCommand("verify -t tests/integration ${platform}")
+    runKitchenCommand("destroy ${platform}");
 }
 
 /**
  * Run kitchen command
  * @param cmd kitchen command
  */
-def runKitchenCommand(cmd){
-    sh "rbenv exec bundler exec kitchen ${cmd}"
+def runKitchenCommand(cmd, platform = null){
+    if(platform){
+        sh "PLATFORM=${platform} rbenv exec bundler exec kitchen ${cmd}"
+    }else{
+        sh "rbenv exec bundler exec kitchen ${cmd}"
+    }
 }