Skip to content

Instantly share code, notes, and snippets.

@mbriggs mbriggs/gist:1384804
Created Nov 22, 2011

Embed
What would you like to do?
(defun find-functional-test (test-file)
(find-file (replace-regexp-in-string "_test" "" test-file
(replace-regexp-in-string "test\\/functional"
"app\/controllers\/"
test-file))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.