From 800268b7c971bf6cb33cbb4cfdbe8d393e93fb34 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Thu, 7 Jun 2012 15:25:10 +0530 Subject: [PATCH] Add tests for bundle recording and installation. --- tests/install.t | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/install.t diff --git a/tests/install.t b/tests/install.t new file mode 100644 index 0000000..1b49edd --- /dev/null +++ b/tests/install.t @@ -0,0 +1,33 @@ +Confirm we have no plugins + + $ bundle-list + You don't have any bundles. + [1] + +Record a plugin and install it. + + $ bundle lol + $ bundle-install + Cloning into '[-_\.a-zA-Z0-9/\\]+'... (re) + Installing lol + +Check if the lol plugin is correctly loaded. + + $ alias wtf + wtf=dmesg + +On-spot installation + + $ bundle-install git + Installing git + +Check if git plugin is loaded correctly. + + $ alias g + g=git + +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 -- 2.0.0