Removed mocha availability checks in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8783 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -144,8 +144,6 @@ class AccountTest < ActionController::IntegrationTest
|
||||
log_user('newuser', 'newpass')
|
||||
end
|
||||
|
||||
if Object.const_defined?(:Mocha)
|
||||
|
||||
def test_onthefly_registration
|
||||
# disable registration
|
||||
Setting.self_registration = '0'
|
||||
@@ -199,8 +197,4 @@ class AccountTest < ActionController::IntegrationTest
|
||||
assert_not_equal sid, session[:session_id], "logout should reset session"
|
||||
assert_nil session[:user_id]
|
||||
end
|
||||
|
||||
else
|
||||
puts 'Mocha is missing. Skipping tests.'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user