remvee / emacs-rails forked from tomtt/emacs-rails
- Source
- Commits
- Network (10)
- Graphs
-
Tree:
c6a7de0
emacs-rails / rails-functional-test-minor-mode.el
| 65068ffa » | dimaexe | 2007-03-22 | 1 | ;;; rails-functional-test-minor-mode.el --- minor mode for RubyOnRails functional tests | |
| c1ba07d0 » | dimaexe | 2007-01-21 | 2 | ||
| 5a95c515 » | dimaexe | 2007-03-24 | 3 | ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com> | |
| c1ba07d0 » | dimaexe | 2007-01-21 | 4 | ||
| ec5faeb4 » | dimaexe | 2007-03-24 | 5 | ;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com> | |
| 6 | |||||
| c1ba07d0 » | dimaexe | 2007-01-21 | 7 | ;; Keywords: ruby rails languages oop | |
| cbf28284 » | dimaexe | 2007-03-24 | 8 | ;; $URL$ | |
| 9 | ;; $Id$ | ||||
| c1ba07d0 » | dimaexe | 2007-01-21 | 10 | ||
| 11 | ;;; License | ||||
| 12 | |||||
| 13 | ;; This program is free software; you can redistribute it and/or | ||||
| 14 | ;; modify it under the terms of the GNU General Public License | ||||
| 15 | ;; as published by the Free Software Foundation; either version 2 | ||||
| 16 | ;; of the License, or (at your option) any later version. | ||||
| 17 | |||||
| 18 | ;; This program is distributed in the hope that it will be useful, | ||||
| 19 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| 20 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
| 21 | ;; GNU General Public License for more details. | ||||
| 22 | |||||
| 23 | ;; You should have received a copy of the GNU General Public License | ||||
| 24 | ;; along with this program; if not, write to the Free Software | ||||
| 25 | ;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||||
| 26 | |||||
| 27 | ;;; Code: | ||||
| 28 | |||||
| 65068ffa » | dimaexe | 2007-03-22 | 29 | (define-minor-mode rails-functional-test-minor-mode | |
| 30 | "Minor mode for RubyOnRails functional tests." | ||||
| 52c7ab79 » | dimaexe | 2007-04-03 | 31 | :lighter " FTest" | |
| 32 | :keymap (let ((map (rails-controller-layout:keymap :functional-test))) | ||||
| 171e3a36 » | dimaexe | 2007-04-05 | 33 | (define-key map rails-minor-mode-test-current-method-key 'rails-test:run-current-method) | |
| 52c7ab79 » | dimaexe | 2007-04-03 | 34 | (define-key map [menu-bar rails-controller-layout run] '("Test current method" . rails-test:run-current-method)) | |
| 35 | map) | ||||
| 36 | (setq rails-primary-switch-func 'rails-controller-layout:switch-to-controller) | ||||
| 37 | (setq rails-secondary-switch-func 'rails-controller-layout:menu)) | ||||
| 65068ffa » | dimaexe | 2007-03-22 | 38 | ||
| 39 | (provide 'rails-functional-test-minor-mode) | ||||
