Commit a89d2b9eaac75763300d16c27cece6f98caf1118
1 parent
feb20aa8
Exists in
master
and in
29 other branches
Some unit tests need fixture_file_upload
In Rails 2.3.5 fixture_file_upload was moved to ActionController::TestProcess which by default is only available for functional tests
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
test/test_helper.rb
@@ -42,6 +42,9 @@ class ActiveSupport::TestCase | @@ -42,6 +42,9 @@ class ActiveSupport::TestCase | ||
42 | 42 | ||
43 | # Add more helper methods to be used by all tests here... | 43 | # Add more helper methods to be used by all tests here... |
44 | 44 | ||
45 | + # for fixture_file_upload | ||
46 | + include ActionController::TestProcess | ||
47 | + | ||
45 | include Noosfero::Factory | 48 | include Noosfero::Factory |
46 | 49 | ||
47 | include AuthenticatedTestHelper | 50 | include AuthenticatedTestHelper |