Skip to content

Commit

Permalink
Update instructions for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Oct 27, 2013
1 parent 97e4108 commit 2ba5999
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Running the specs

To run the specs, you call vspec as follows:

vspec {input-script} [{non-standard-runtimepath} ...]
vspec [{non-standard-runtimepath} ...] {input-script}

In this case, the non-standard runtimepath must include the vspec plugin, the textobj-user plugin (which is a dependency for this plugin) and this plugin.

Expand All @@ -97,14 +97,14 @@ Assuming you use [pathogen][] to manage your plugins, then the plugins required
~/dotfiles
/vim
/bundle
/textobj-user
/textobj-rubyblock
/vspec
/vim-textobj-user
/vim-textobj-rubyblock
/vim-vspec

So to run the `basic.input` tests, you would run:

cd ~/dotfiles/vim/bundle/textobj-rubyblock
../vspec/bin/vspec test/basic.input ../vspec/ ../textobj-user/ .
cd ~/dotfiles/vim/bundle/vim-textobj-rubyblock
../vim-vspec/bin/vspec ../vim-vspec/ ../vim-textobj-user/ . test/rubyblock_test.vim

Generating a vimball
--------------------
Expand Down

0 comments on commit 2ba5999

Please sign in to comment.