aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-11-16 14:57:48 -0800
committerJon Leighton <j@jonathanleighton.com>2011-11-16 14:57:48 -0800
commita152fd34d3eb0e4980c4a44dd1f71510890c5417 (patch)
treefc76f1c503c19a40d222fbc5bff141f21e7e293d /railties
parentcef1e14e09e5654895f264a2cff1c0898672b1f0 (diff)
parent76b6027cd80685617b5bf5ceb986fd5dc8e213b2 (diff)
downloadrails-a152fd34d3eb0e4980c4a44dd1f71510890c5417.tar.gz
rails-a152fd34d3eb0e4980c4a44dd1f71510890c5417.tar.bz2
rails-a152fd34d3eb0e4980c4a44dd1f71510890c5417.zip
Merge pull request #3608 from arunagw/unused_var_remove
Unused variable removed
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/console_test.rb1
-rw-r--r--railties/test/application/rackup_test.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/railties/test/application/console_test.rb b/railties/test/application/console_test.rb
index b3745f194e..2073c780bf 100644
--- a/railties/test/application/console_test.rb
+++ b/railties/test/application/console_test.rb
@@ -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
diff --git a/railties/test/application/rackup_test.rb b/railties/test/application/rackup_test.rb
index ff9cdcadc7..86e1995def 100644
--- a/railties/test/application/rackup_test.rb
+++ b/railties/test/application/rackup_test.rb
@@ -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