Created
October 23, 2011 02:11
-
-
Save sivabudh/1306756 to your computer and use it in GitHub Desktop.
The development.rb
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
YourApp::Application.configure do | |
# Some other stuff in development.rb | |
# Force ActiveMerchant into test mode | |
config.after_initialize do | |
ActiveMerchant::Billing::Base.mode = :test | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment