diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-05 12:20:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-05 12:20:41 +0000 |
commit | 4128a8bfd01e98d378d353374686029ad748d34d (patch) | |
tree | 330179c7ddd1e82ffbfcf98a3d7ce7e2084bc5ae /test/integration/account_test.rb | |
parent | 9f6496b0bccb50deb65c162e6c51f4ad955d6601 (diff) | |
download | redmine-4128a8bfd01e98d378d353374686029ad748d34d.tar.gz redmine-4128a8bfd01e98d378d353374686029ad748d34d.zip |
Removed mocha availability checks in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8783 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/account_test.rb')
-rw-r--r-- | test/integration/account_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index 8cf105f2e..11afd2b07 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -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 |