Modified: branches/rails2/test/functional/api_controller_test.rb (2814 => 2815)
--- branches/rails2/test/functional/api_controller_test.rb 2011-11-16 16:57:40 UTC (rev 2814)
+++ branches/rails2/test/functional/api_controller_test.rb 2011-11-17 00:08:38 UTC (rev 2815)
@@ -8,6 +8,12 @@
class ApiControllerTest < ActionController::TestCase
+ def setup
+ @controller = ApiController.new
+ @request = TestRequestWithQuery.new
+ @response = ActionController::TestResponse.new
+ end
+
fixtures :workflows, :users, :content_types, :licenses, :ontologies, :predicates, :packs
def test_workflows