mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Unused variable removed
This commit is contained in:
parent
c7ab43ff06
commit
76b6027cd8
2 changed files with 1 additions and 2 deletions
|
@ -71,7 +71,6 @@ class ConsoleTest < Test::Unit::TestCase
|
||||||
|
|
||||||
assert !User.new.respond_to?(:age)
|
assert !User.new.respond_to?(:age)
|
||||||
silence_stream(STDOUT) { irb_context.reload! }
|
silence_stream(STDOUT) { irb_context.reload! }
|
||||||
session = irb_context.new_session
|
|
||||||
assert User.new.respond_to?(:age)
|
assert User.new.respond_to?(:age)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ module ApplicationTests
|
||||||
|
|
||||||
def rackup
|
def rackup
|
||||||
require "rack"
|
require "rack"
|
||||||
app, options = Rack::Builder.parse_file("#{app_path}/config.ru")
|
app, _ = Rack::Builder.parse_file("#{app_path}/config.ru")
|
||||||
app
|
app
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue