Skip to content

Instantly share code, notes, and snippets.

@markburns
Created November 3, 2011 21:10
Show Gist options
  • Save markburns/1337791 to your computer and use it in GitHub Desktop.
Save markburns/1337791 to your computer and use it in GitHub Desktop.
Using spork and reloading classes in rspec, but defaulting to cached_classes
config.cache_classes = ENV['RELOAD_CLASSES'].blank?
RELOAD_CLASSES=true bundle exec spork rspec &
rspec spec/
bundle exec cucumber features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment