Skip to content

Commit

Permalink
change how I run specs
Browse files Browse the repository at this point in the history
  • Loading branch information
aokolish committed Oct 13, 2016
1 parent 4b95bc2 commit e36ecd3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions vimrc
Expand Up @@ -224,18 +224,13 @@ function! RunTests(filename)
" Write the file and run tests for the given filename
:w
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
:silent !echo;echo;echo;echo;echo;echo;echo;echo;echo;echo
if match(a:filename, '\.feature$') != -1 && match(expand("%"), 'features') != -1
exec ":!zeus cucumber " . a:filename
else
if filereadable("Gemfile")
exec ":!s " . a:filename
:silent !tmux send-keys -t right 'clear' C-m
:silent exec "!tmux send-keys -t right 's " . a:filename . "' C-m"
:redraw!
else
exec ":!rspec " . a:filename
end
Expand Down

0 comments on commit e36ecd3

Please sign in to comment.