Created
September 22, 2012 12:31
-
-
Save amuino/3766049 to your computer and use it in GitHub Desktop.
Fast RSpec without Spork - avoid loading rails again and again
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
rails c test | |
ActiveRecord::Base.logger.level = Logger::WARN | |
require 'rspec' | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] | |
reload! ; RSpec::Core::Runner.run ["spec"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment