Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

test_helper.rb 492B

12345678910111213141516
  1. ENV["RAILS_ENV"] ||= "test"
  2. require File.expand_path('../../config/environment', __FILE__)
  3. require 'rails/test_help'
  4. class ActiveSupport::TestCase
  5. ActiveRecord::Migration.check_pending!
  6. # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  7. #
  8. # Note: You'll currently still have to declare fixtures explicitly in integration tests
  9. # -- they do not yet inherit this setting
  10. fixtures :all
  11. # Add more helper methods to be used by all tests here...
  12. end