public
Fork of tomtt/emacs-rails
Description: Tomtt's version of the minor mode for editing RubyOnRails code in Emacs
Homepage: http://rubyforge.org/projects/emacs-rails/
Clone URL: git://github.com/rmm5t/emacs-rails.git
Search Repo:
whitespace cleanup
rmm5t (author)
Thu May 15 09:47:48 -0700 2008
commit  dd4a565085b992c6da4de442e7b9f471afc4e7d7
tree    e79f0e78b40df2b287d18257eb9b5a9a5166d2e5
parent  872bb5cc0fa3eabbcbfbbb70ddafb03d68e7133b
...
4
5
6
7
8
9
10
...
21
22
23
24
25
26
27
...
33
34
35
36
37
38
39
...
41
42
43
44
45
46
47
...
50
51
52
53
54
55
56
...
59
60
61
62
63
64
 
...
4
5
6
 
7
8
9
...
20
21
22
 
23
24
25
...
31
32
33
 
34
35
36
...
38
39
40
 
41
42
43
...
46
47
48
 
49
50
51
...
54
55
56
 
 
 
57
0
@@ -4,7 +4,6 @@
0
 ;; Authors: Rob Christie <robchristie at gmail dot com>,
0
 ;; Keywords: ruby rails languages oop
0
 
0
-
0
 ;;; License
0
 
0
 ;; This program is free software; you can redistribute it and/or
0
@@ -21,7 +20,6 @@
0
 ;; along with this program; if not, write to the Free Software
0
 ;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
0
 
0
-
0
 (defun rails-shoulda:current-test ()
0
   "Return the test name based on point"
0
   (save-excursion
0
@@ -33,7 +31,6 @@
0
       (when (and should context)
0
         (concat context " should " should)))))
0
 
0
-
0
 (defun rails-shoulda:current-context ()
0
   "Return the shoulda context name based on point"
0
   (save-excursion
0
@@ -41,7 +38,6 @@
0
     (when (search-backward-regexp "^[ ]*context \"\\([a-z0-9_ ]+\\)\"[ ]*do" nil t)
0
       (match-string-no-properties 1))))
0
 
0
-
0
 (defun rails-shoulda:run-current-should ()
0
   "Run should assertion based on the location of point."
0
   (interactive)
0
@@ -50,7 +46,6 @@
0
     (when method
0
       (rails-test:run-single-file file (format "--name=/%s/" method)))))
0
 
0
-
0
 (defun rails-shoulda:run-current-context ()
0
   "Run tests associated with the context based on the location of point."
0
   (interactive)
0
@@ -59,7 +54,5 @@
0
     (when method
0
       (rails-test:run-single-file file (format "--name=/%s/" method)))))
0
 
0
-
0
-
0
- (provide 'rails-shoulda)
0
+(provide 'rails-shoulda)

Comments

    No one has commented yet.