Run ruby shoulda tests from emacs
ruby-mode
Add shoulda
to your Cask file:
(depends-on "shoulda")
- OR -
Manually download shoulda.el
and add the following to your init file:
(add-to-list 'load-path "/path/to/shoulda.el")
(require 'shoulda)
(eval-after-load 'ruby
'(define-key ruby-mode-map (kbd "C-c t s") 'shoulda-run-should-at-point)))
(eval-after-load 'ruby
'(define-key ruby-mode-map (kdb "C-c t c") 'shoulda-run-context-at-point)))
License GPLv3
Copyright (C) 2014 Marcwebbie
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.