From efbdc718d08d435d17358932592b9a9f10d77c3c Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Thu, 7 Jun 2012 16:23:08 +0530 Subject: [PATCH] Add tests for bundle-install with updates. --- tests/install.t | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/tests/install.t b/tests/install.t index 1b49edd..36fa1e4 100644 --- a/tests/install.t +++ b/tests/install.t @@ -1,4 +1,4 @@ -Confirm we have no plugins +Confirm we have no plugins. $ bundle-list You don't have any bundles. @@ -16,7 +16,7 @@ Check if the lol plugin is correctly loaded. $ alias wtf wtf=dmesg -On-spot installation +On-spot installation. $ bundle-install git Installing git @@ -26,8 +26,19 @@ Check if git plugin is loaded correctly. $ alias g g=git -Confirm the listing of plugins +Confirm the listing of plugins. $ bundle-list lol https://github.com/robbyrussell/oh-my-zsh.git plugins/lol git https://github.com/robbyrussell/oh-my-zsh.git plugins/git + +Update plugins (test both alternate syntaxes for do this). + + $ bundle-install! + Already up-to-date. + Installing lol + Installing git + $ bundle-install --update + Already up-to-date. + Installing lol + Installing git -- 2.0.0