specky/doc/specky.txt
branchvim-stuff
changeset 21 cd1f3381c1ed
parent 19 763cef799c74
child 22 ed72213b1788
equal deleted inserted replaced
20:09c4f575f627 21:cd1f3381c1ed
    89 	~/.vim/ruby/specky_formatter.rb ~
    89 	~/.vim/ruby/specky_formatter.rb ~
    90 
    90 
    91 Otherwise, you'll need to locate it, and tell rspec to use it in one of two
    91 Otherwise, you'll need to locate it, and tell rspec to use it in one of two
    92 ways.
    92 ways.
    93 
    93 
    94 	1) Set the *g:speckyRunSpecCmd* variable explicitly:
    94 	1) Set the 'g:speckyRunSpecCmd' variable explicitly:
    95 
    95 
    96 		let g:speckyRunRdocCmd = "rspec -r ~/.vim/ruby/specky_formatter.rb -f SpeckyFormatter" ~
    96 		let g:speckyRunSpecCmd = "rspec -r ~/.vim/ruby/specky_formatter.rb -f SpeckyFormatter" ~
    97 
    97 
    98 	2) or, leave *g:speckyRunSpecCmd* at its default value, and instead use
    98 	2) or, leave 'g:speckyRunSpecCmd' at its default value, and instead use
    99 	   an '.rspec' settings file in the root directory of the the project
    99 	   an '.rspec' settings file in the root directory of the the project
   100 	   you're working in.  I find this method much more flexible -- the
   100 	   you're working in.  I find this method much more flexible -- the
   101 	   '.rspec' file can be carried with your project, and customized to
   101 	   '.rspec' file can be carried with your project, and customized to
   102 	   include additional bits like custom $LOAD_PATH injections, etc.
   102 	   include additional bits like custom $LOAD_PATH injections, etc.
   103 	   Here's what mine usually looks like: >
   103 	   Here's what mine usually looks like: >