mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix private attribute warning
This commit is contained in:
parent
29146383c5
commit
113e39625b
2 changed files with 6 additions and 3 deletions
|
@ -114,9 +114,10 @@ class Rails::ConsoleTest < ActiveSupport::TestCase
|
|||
assert_match('dev', options[:environment])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :output
|
||||
private :output
|
||||
|
||||
private
|
||||
|
||||
def start(argv = [])
|
||||
rails_console = Rails::Console.new(app, parse_arguments(argv))
|
||||
|
|
|
@ -172,8 +172,10 @@ class Rails::DBConsoleTest < ActiveSupport::TestCase
|
|||
assert_match(/Usage:.*dbconsole/, stdout)
|
||||
end
|
||||
|
||||
private
|
||||
attr_reader :aborted, :output
|
||||
private :aborted, :output
|
||||
|
||||
private
|
||||
|
||||
def dbconsole
|
||||
@dbconsole ||= Rails::DBConsole.new(nil)
|
||||
|
|
Loading…
Reference in a new issue