Skip to content

Instantly share code, notes, and snippets.

Created June 1, 2013 23:35
Show Gist options
  • Save anonymous/e5cc5201a877679c5f48 to your computer and use it in GitHub Desktop.
Save anonymous/e5cc5201a877679c5f48 to your computer and use it in GitHub Desktop.
require 'minitest/autorun'
require 'ffm'
def read_fixture(name)
File.read(File.join(File.expand_path('../fixtures/', __FILE__), name))
end
# Mail delivery defaults during testing
Mail.defaults do
delivery_method :test
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment