Skip to content

Instantly share code, notes, and snippets.

@sivabudh
Created October 23, 2011 02:11
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 sivabudh/1306756 to your computer and use it in GitHub Desktop.
Save sivabudh/1306756 to your computer and use it in GitHub Desktop.
The development.rb
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