1
0
Fork 0
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:
Vipul A M 2013-04-04 23:23:46 +05:30
parent 29146383c5
commit 113e39625b
2 changed files with 6 additions and 3 deletions

View file

@ -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))

View file

@ -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)