Sha256: ac1a0d8c847df5f4abc790f3210679cc03d9c84d9269a6496d4f2bb9bd2a193c

Contents?: true

Size: 881 Bytes

Versions: 12

Compression:

Stored size: 881 Bytes

Contents

require 'test/unit'

require 'rubygems'
gem 'rails', '>=3.0.0.rc'
gem 'sqlite3-ruby'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require "active_support"
require "active_record"
require "active_model"
require "action_controller"
require "rails/railtie"

require 'rails3-jquery-autocomplete'

class ApplicationController < ActionController::Base; end

ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')

Rails3JQueryAutocomplete::Routes = ActionDispatch::Routing::RouteSet.new
Rails3JQueryAutocomplete::Routes.draw do |map|
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action'
end

ActionController::Base.send :include, Rails3JQueryAutocomplete::Routes.url_helpers

class ActiveSupport::TestCase
  setup do
    @routes = Rails3JQueryAutocomplete::Routes
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
rails3-jquery-autocomplete-moc-0.3.3 test/test_helper.rb
rails3-jquery-autocomplete-0.3.4 test/test_helper.rb
rails3-jquery-autocomplete-moc-0.3.1 test/test_helper.rb
rails3-jquery-autocomplete-moc-0.3.0 test/test_helper.rb
rails3-jquery-autocomplete-0.3.3 test/test_helper.rb
rails3-jquery-autocomplete-0.3.2 test/test_helper.rb
rails3-jquery-autocomplete-0.3.1 test/test_helper.rb
rails3-jquery-autocomplete-0.3.0 test/test_helper.rb
rails3-jquery-autocomplete-moc-0.1.0 test/test_helper.rb
rails3-jquery-autocomplete-0.2.3 test/test_helper.rb
rails3-jquery-autocomplete-0.2.2 test/test_helper.rb
rails3-jquery-autocomplete-0.2.1 test/test_helper.rb