test/test_helper.rb in rails3-jquery-autocomplete-1.0.6 vs test/test_helper.rb in rails3-jquery-autocomplete-1.0.7

- old
+ new

@@ -3,9 +3,14 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) ENV["RAILS_ENV"] = "test" +module Rails + def self.env + ActiveSupport::StringInquirer.new("test") + end +end require 'rails/all' require 'mongoid' require 'mongo_mapper' require 'shoulda'