Created
October 29, 2012 13:14
-
-
Save mocoso/3973472 to your computer and use it in GitHub Desktop.
pryrc
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
# Enable you to write 100.pounds, or 1.report_credit etc. | |
require './spec/support/sugar' | |
# The way we use spork means this isn't normally loaded, adding this in means | |
# that I can use factories in the console | |
require 'factory_girl_rails' | |
def me | |
Account.find_by_email_address('joel.chippindale@econsultancy.com') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment