test/test_helper.rb in rails3-jquery-autocomplete-0.8.0 vs test/test_helper.rb in rails3-jquery-autocomplete-0.9.0
- old
+ new
@@ -8,10 +8,11 @@
require 'rails/all'
require 'mongoid'
require 'mongo_mapper'
require 'shoulda'
+require 'rr'
require 'rails/test_help'
require 'rails3-jquery-autocomplete'
module Rails3JQueryAutocomplete
class Application < Rails::Application
@@ -22,7 +23,9 @@
match '/:controller(/:action(/:id))'
end
ActionController::Base.send :include, Rails3JQueryAutocomplete::Application.routes.url_helpers
-ActorsController = Class.new(ActionController::Base)
-ActorsController.autocomplete(:movie, :name)
+class Test::Unit::TestCase
+ include RR::Adapters::TestUnit
+end
+