Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fix private attribute warning #10090

Merged
merged 1 commit into from

2 participants

@vipulnsward

fix private attribute warning

@steveklabnik steveklabnik merged commit 25fcc17 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2013
  1. @vipulnsward
This page is out of date. Refresh to see the latest.
View
5 railties/test/commands/console_test.rb
@@ -114,9 +114,10 @@ def test_rails_env_is_dev_when_argument_is_dev_and_dev_env_is_present
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
4 railties/test/commands/dbconsole_test.rb
@@ -172,8 +172,10 @@ def test_print_help_long
assert_match(/Usage:.*dbconsole/, stdout)
end
- private
attr_reader :aborted, :output
+ private :aborted, :output
+
+ private
def dbconsole
@dbconsole ||= Rails::DBConsole.new(nil)
Something went wrong with that request. Please try again.