diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-11-11 15:34:47 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-11-15 13:23:27 +0530 |
commit | 76b6027cd80685617b5bf5ceb986fd5dc8e213b2 (patch) | |
tree | 8845f1f777ad94940e8d42bbb830ddc7995add8f /railties/test | |
parent | c7ab43ff062390205f1508b6476cd354a16eb362 (diff) | |
download | rails-76b6027cd80685617b5bf5ceb986fd5dc8e213b2.tar.gz rails-76b6027cd80685617b5bf5ceb986fd5dc8e213b2.tar.bz2 rails-76b6027cd80685617b5bf5ceb986fd5dc8e213b2.zip |
Unused variable removed
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/console_test.rb | 1 | ||||
-rw-r--r-- | railties/test/application/rackup_test.rb | 2 |
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 |