Created
July 17, 2013 21:17
-
-
Save fourcolors/6024582 to your computer and use it in GitHub Desktop.
Alias for Canvas Javascript Tests. Use this like this. js_dev WikiPageEditViewSpec or js_test WikiPageEditViewSpec That should run only tests in that specific file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
js_dev(){ | |
JS_SPEC_MATCHER="**/*$*.js" bundle exec rake js:dev | |
} | |
js_test(){ | |
JS_SPEC_MATCHER="**/*$*.js" bundle exec rake js:test | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment