Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
This is a bare-minimum testem configuration file that will allow you to use testem with a rails project. You save it in the root directory of the project (at the same level as the Gemfile), and then you can navigate to the project and run testem. How it works: What this configuration does is precompile the assets before the tests are run using t…
"framework": "jasmine",
"src_files": [
"serve_files": [
"before_tests": "rake assets:precompile RAILS_ENV=development",
"after_tests": "rm -rf public/assets/"

If precompiling your assets takes too much time you may use symbolic links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.