Sha256: b1777f619d9a30a0c46bf6ae367e11d7aaca8e97562199856787fbe72a4eb27a

Contents?: true

Size: 712 Bytes

Versions: 1

Compression:

Stored size: 712 Bytes

Contents

require "rubygems"

require "active_support/testing/autorun"
require "abstract_controller"
require "abstract_controller/railties/routes_helpers"
require "action_controller"
require "action_view"
require "action_view/testing/resolvers"
require "action_dispatch"
require "active_support/dependencies"
require "rails-controller-testing"

module Rails
  class << self
    def env
      @_env ||= ActiveSupport::StringInquirer.new(ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "test")
    end

    def root; end
  end
end

Rails::Controller::Testing.install

$LOAD_PATH.unshift File.expand_path("#{File.dirname(__FILE__)}/../lib")
require "menu_builder"

Dir["#{File.dirname(__FILE__)}/support/*.rb"].each { |f| require f }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
menu_builder-0.5 test/test_helper.rb