Show More
Commit Description:
utf8mb4
Commit Description:
utf8mb4
File last commit:
Show/Diff file:
Action:
test/test_helper.rb | 28 lines | 792 B | text/x-ruby | RubyLexer |
start update to 5.2
r751 ENV['RAILS_ENV'] ||= 'test'
require_relative '../config/environment'
Jittat Fakcharoenphol
boots into rails 3
r318 require 'rails/test_help'
pramook
initial commit...
r0
- fix login box...
r638 #reporter for beautiful result
more login test...
r627 require "minitest/reporters"
Minitest::Reporters.use!
- fix login box...
r638 module SignInHelper
def sign_in_as(user,password)
post login_login_path, {login: user, password: password }
end
end
Jittat Fakcharoenphol
started cleaning up tests, fixed fixtures loading error, removed error when contest time limit is uninitialized
r275 class ActiveSupport::TestCase
- fix login box...
r638 include SignInHelper
Jittat Fakcharoenphol
boots into rails 3
r318 # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
pramook
initial commit...
r0 #
Jittat Fakcharoenphol
boots into rails 3
r318 # 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...
Jittat Fakcharoenphol
started cleaning up tests, fixed fixtures loading error, removed error when contest time limit is uninitialized
r275
start update to 5.2
r751 self.use_transactional_tests = true
#self.use_instantiated_fixtures = false
pramook
initial commit...
r0 self.use_instantiated_fixtures = false
end