Commit efbdc718d08d435d17358932592b9a9f10d77c3c

Authored by Shrikant Sharat
1 parent 02f4901c54

Add tests for bundle-install with updates.

Showing 1 changed file with 14 additions and 3 deletions Side-by-side Diff

1   -Confirm we have no plugins
  1 +Confirm we have no plugins.
2 2  
3 3 $ bundle-list
4 4 You don't have any bundles.
... ... @@ -16,7 +16,7 @@ Check if the lol plugin is correctly loaded.
16 16 $ alias wtf
17 17 wtf=dmesg
18 18  
19   -On-spot installation
  19 +On-spot installation.
20 20  
21 21 $ bundle-install git
22 22 Installing git
... ... @@ -26,8 +26,19 @@ Check if git plugin is loaded correctly.
26 26 $ alias g
27 27 g=git
28 28  
29   -Confirm the listing of plugins
  29 +Confirm the listing of plugins.
30 30  
31 31 $ bundle-list
32 32 lol https://github.com/robbyrussell/oh-my-zsh.git plugins/lol
33 33 git https://github.com/robbyrussell/oh-my-zsh.git plugins/git
  34 +
  35 +Update plugins (test both alternate syntaxes for do this).
  36 +
  37 + $ bundle-install!
  38 + Already up-to-date.
  39 + Installing lol
  40 + Installing git
  41 + $ bundle-install --update
  42 + Already up-to-date.
  43 + Installing lol
  44 + Installing git