Skip to content

Instantly share code, notes, and snippets.

@nahurst
Created October 14, 2012 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nahurst/3889791 to your computer and use it in GitHub Desktop.
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
describe "console" do
it "should run" do
binding.pry
end
end
#> spork
#> rspec --drb spec/models/console_spec.rb
@nahurst
Copy link
Author

nahurst commented Oct 18, 2012

should keep it commented out so that spork doesn't get confused when running the whole test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment