Sha256: a86f3d58b7d5c0a4913ebaed06e82124567951126420ae0b56dc2108a0d408dd

Contents?: true

Size: 730 Bytes

Versions: 4

Compression:

Stored size: 730 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

$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'
require 'rr'
require 'rails/test_help'
require 'rails-jquery-autocomplete'

module RailsJQueryAutocomplete
  class Application < ::Rails::Application
  end
end

RailsJQueryAutocomplete::Application.routes.draw do
  match '/:controller(/:action(/:id))'
end

ActionController::Base.send :include, RailsJQueryAutocomplete::Application.routes.url_helpers

class Test::Unit::TestCase

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails-jquery-autocomplete-1.0.4 test/test_helper.rb
rails-jquery-autocomplete-1.0.3 test/test_helper.rb
rails-jquery-autocomplete-1.0.2 test/test_helper.rb
rails-jquery-autocomplete-1.0.1 test/test_helper.rb