Skip to content

Instantly share code, notes, and snippets.

@frankpinto
Created September 3, 2015 22:13
Show Gist options
  • Save frankpinto/789816c049ea535e12df to your computer and use it in GitHub Desktop.
Save frankpinto/789816c049ea535e12df to your computer and use it in GitHub Desktop.
Rails 4.2.4 test helper
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
# Add more helper methods to be used by all tests here...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment