Skip to content
Browse files

Merge pull request #3608 from arunagw/unused_var_remove

Unused variable removed
  • Loading branch information...
2 parents cef1e14 + 76b6027 commit a152fd34d3eb0e4980c4a44dd1f71510890c5417 @jonleighton jonleighton committed Nov 16, 2011
Showing with 1 addition and 2 deletions.
  1. +0 −1 railties/test/application/console_test.rb
  2. +1 −1 railties/test/application/rackup_test.rb
View
1 railties/test/application/console_test.rb
@@ -71,7 +71,6 @@ class User
assert !User.new.respond_to?(:age)
silence_stream(STDOUT) { irb_context.reload! }
- session = irb_context.new_session
assert User.new.respond_to?(:age)
end
View
2 railties/test/application/rackup_test.rb
@@ -6,7 +6,7 @@ class RackupTest < Test::Unit::TestCase
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

0 comments on commit a152fd3

Please sign in to comment.
Something went wrong with that request. Please try again.