Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A few tweaks to the test keybindings.

  • Loading branch information...
commit a75e245e7ab11ce7fa697034df398e659da0ee6a 1 parent dad2ff6
@myronmarston authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 vimrc.local
View
6 vimrc.local
@@ -50,7 +50,7 @@ function! RunTests(filename)
" Write the file and run tests for the given filename
:w
:silent !echo;echo;echo;echo;echo
- exec ":!bundle exec rspec " . a:filename
+ exec ":!time rspec " . a:filename
endfunction
function! SetTestFile()
@@ -81,9 +81,9 @@ function! RunNearestTest()
endfunction
" Run this file
-map <leader>t :call RunTestFile()<cr>
+map <leader>m :call RunTestFile()<cr>
" Run only the example under the cursor
-map <leader>T :call RunNearestTest()<cr>
+map <leader>M :call RunNearestTest()<cr>
" Run all test files
map <leader>a :call RunTests('spec')<cr>
Please sign in to comment.
Something went wrong with that request. Please try again.