Created
May 31, 2012 15:35
-
-
Save JohnMurray/2844201 to your computer and use it in GitHub Desktop.
An example of what a repetitive Pry session _might_ look like
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
require 'bundler/setup' | |
bundler.require(:development, :test, :console) | |
$: << File.expand_path('../src', __FILE__) | |
require 'app' | |
require 'models/user_account' | |
require 'models/car' | |
# Load config and connect to DB | |
App.init() | |
def random_helper_method | |
# ... helpful code ... | |
end | |
# maybe some other random junk depending | |
# on what your testing at the moment | |
# FINALLY time to test! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment