Sha256: 6e9d2c77f204e77234429a97fbc406441671ca8378c82db2549735eb4bc03b7f

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 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 'minitest/autorun'
require 'rails/all'
require 'mongoid'
require 'mongo_mapper'
require 'shoulda'
require 'test/unit/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

1 entries across 1 versions & 1 rubygems

Version Path
rails-jquery-autocomplete-1.0.5 test/test_helper.rb