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:
Jean-Philippe Lang
2012-02-05 12:20:41 +00:00
parent 9f6496b0bc
commit 4128a8bfd0
2 changed files with 1 additions and 8 deletions
+1 -2
View File
@@ -2318,8 +2318,7 @@ class IssuesControllerTest < ActionController::TestCase
:attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}}
assert_redirected_to :action => 'show', :id => '1'
assert_equal '1 file(s) could not be saved.', flash[:warning]
end if Object.const_defined?(:Mocha)
end
def test_put_update_with_no_change
issue = Issue.find(1)