1
0
Fork 0
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:
Arun Agrawal 2011-11-11 15:34:47 +05:30
parent c7ab43ff06
commit 76b6027cd8
2 changed files with 1 additions and 2 deletions

View file

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

View file

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