Blame view

tests/install.t 835 Bytes
72c01604f   Shrikant Sharat   Skip the legacy t...
1
2
3
  Skip test.
  
    $ exit 80
efbdc718d   Shrikant Sharat   Add tests for bun...
4
  Confirm we have no plugins.
800268b7c   Shrikant Sharat   Add tests for bun...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  
    $ 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
efbdc718d   Shrikant Sharat   Add tests for bun...
21
  On-spot installation.
800268b7c   Shrikant Sharat   Add tests for bun...
22
23
24
25
26
27
28
29
  
    $ bundle-install git
    Installing git
  
  Check if git plugin is loaded correctly.
  
    $ alias g
    g=git
efbdc718d   Shrikant Sharat   Add tests for bun...
30
  Confirm the listing of plugins.
800268b7c   Shrikant Sharat   Add tests for bun...
31
32
33
34
  
    $ bundle-list
    lol https://github.com/robbyrussell/oh-my-zsh.git plugins/lol
    git https://github.com/robbyrussell/oh-my-zsh.git plugins/git
efbdc718d   Shrikant Sharat   Add tests for bun...
35
36
37
38
39
40
41
42
43
44
45
  
  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