Show More
Commit Description:
NEED TESTING...
Commit Description:
NEED TESTING move to stronger parameter for xxx.new(params[
References:
File last commit:
Show/Diff file:
Action:
test/test_helper.rb | 20 lines | 603 B | text/x-ruby | RubyLexer |
ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
#reporter
require "minitest/reporters"
Minitest::Reporters.use!
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
#
# Note: You'll currently still have to declare fixtures explicitly in integration tests
# -- they do not yet inherit this setting
fixtures :all
# Add more helper methods to be used by all tests here...
self.use_transactional_fixtures = true
self.use_instantiated_fixtures = false
end