mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Unused variable removed
This commit is contained in:
@@ -71,7 +71,6 @@ class ConsoleTest < Test::Unit::TestCase
|
||||
|
||||
assert !User.new.respond_to?(:age)
|
||||
silence_stream(STDOUT) { irb_context.reload! }
|
||||
session = irb_context.new_session
|
||||
assert User.new.respond_to?(:age)
|
||||
end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ module ApplicationTests
|
||||
|
||||
def rackup
|
||||
require "rack"
|
||||
app, options = Rack::Builder.parse_file("#{app_path}/config.ru")
|
||||
app, _ = Rack::Builder.parse_file("#{app_path}/config.ru")
|
||||
app
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user