Created
October 14, 2012 20:52
-
-
Save nahurst/3889791 to your computer and use it in GitHub Desktop.
Using pry like a rails console that connects to spork to speed up initialization
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
describe "console" do | |
it "should run" do | |
binding.pry | |
end | |
end | |
#> spork | |
#> rspec --drb spec/models/console_spec.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should keep it commented out so that spork doesn't get confused when running the whole test suite