Commit 800268b7c971bf6cb33cbb4cfdbe8d393e93fb34
1 parent
f3172c16b7
Add tests for bundle recording and installation.
Showing 1 changed file with 33 additions and 0 deletions Side-by-side Diff
tests/install.t
| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | +Confirm we have no plugins | |
| 2 | + | |
| 3 | + $ bundle-list | |
| 4 | + You don't have any bundles. | |
| 5 | + [1] | |
| 6 | + | |
| 7 | +Record a plugin and install it. | |
| 8 | + | |
| 9 | + $ bundle lol | |
| 10 | + $ bundle-install | |
| 11 | + Cloning into '[-_\.a-zA-Z0-9/\\]+'... (re) | |
| 12 | + Installing lol | |
| 13 | + | |
| 14 | +Check if the lol plugin is correctly loaded. | |
| 15 | + | |
| 16 | + $ alias wtf | |
| 17 | + wtf=dmesg | |
| 18 | + | |
| 19 | +On-spot installation | |
| 20 | + | |
| 21 | + $ bundle-install git | |
| 22 | + Installing git | |
| 23 | + | |
| 24 | +Check if git plugin is loaded correctly. | |
| 25 | + | |
| 26 | + $ alias g | |
| 27 | + g=git | |
| 28 | + | |
| 29 | +Confirm the listing of plugins | |
| 30 | + | |
| 31 | + $ bundle-list | |
| 32 | + lol https://github.com/robbyrussell/oh-my-zsh.git plugins/lol | |
| 33 | + git https://github.com/robbyrussell/oh-my-zsh.git plugins/git |