Skip to content

Commit 7d8700c

Browse files
committed
Update instructions for running tests
1 parent ddff49c commit 7d8700c

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,13 @@ Specs are currently broken. :-/
8686
Running the specs
8787
-----------------
8888

89-
To run the specs, you call vspec as follows:
89+
Set up the testing environment by running this command from the project root:
9090

91-
vspec [{non-standard-runtimepath} ...] {input-script}
91+
bundle install
9292

93-
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.
93+
Then you can run the tests with rake:
9494

95-
Assuming you use [pathogen][] to manage your plugins, then the plugins required to run the test suite will be found in the following locations:
96-
97-
~/dotfiles
98-
/vim
99-
/bundle
100-
/vim-textobj-user
101-
/vim-textobj-rubyblock
102-
/vim-vspec
103-
104-
So to run the `basic.input` tests, you would run:
105-
106-
cd ~/dotfiles/vim/bundle/vim-textobj-rubyblock
107-
../vim-vspec/bin/vspec ../vim-vspec/ ../vim-textobj-user/ . test/rubyblock_test.vim
95+
bundle exec rake test
10896

10997
Generating a vimball
11098
--------------------

0 commit comments

Comments
 (0)