mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Move console stuff to its own directory.
This commit is contained in:
parent
f915f9e339
commit
d3c40242a5
5 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
require 'optparse'
|
||||
require 'irb'
|
||||
require "irb/completion"
|
||||
require 'irb/completion'
|
||||
|
||||
module Rails
|
||||
class Console
|
||||
|
@ -24,9 +24,9 @@ module Rails
|
|||
end
|
||||
|
||||
@app.initialize!
|
||||
require "rails/console_app"
|
||||
require "rails/console_sandbox" if options[:sandbox]
|
||||
require "rails/console_with_helpers"
|
||||
require "rails/console/app"
|
||||
require "rails/console/sandbox" if options[:sandbox]
|
||||
require "rails/console/helpers"
|
||||
|
||||
if options[:debugger]
|
||||
begin
|
||||
|
|
|
@ -9,8 +9,8 @@ class ConsoleTest < Test::Unit::TestCase
|
|||
|
||||
# Load steps taken from rails/commands/console.rb
|
||||
require "#{rails_root}/config/environment"
|
||||
require 'rails/console_app'
|
||||
require 'rails/console_with_helpers'
|
||||
require 'rails/console/app'
|
||||
require 'rails/console/helpers'
|
||||
end
|
||||
|
||||
def test_app_method_should_return_integration_session
|
||||
|
|
Loading…
Reference in a new issue