aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-05-30 14:45:30 +0530
committerArun Agrawal <arunagw@gmail.com>2012-05-30 14:46:17 +0530
commit397e47d807529416da62d428eae5760c7e9e0705 (patch)
treed2c1c37ef6892303affa21f728668a56a4989e51
parent05f88024de99cbd3f8743a8edc76203d69207235 (diff)
downloadrails-397e47d807529416da62d428eae5760c7e9e0705.tar.gz
rails-397e47d807529416da62d428eae5760c7e9e0705.tar.bz2
rails-397e47d807529416da62d428eae5760c7e9e0705.zip
Unused variable warning removed.
-rw-r--r--railties/test/generators_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb
index 3823332a3b..417d019178 100644
--- a/railties/test/generators_test.rb
+++ b/railties/test/generators_test.rb
@@ -186,7 +186,7 @@ class GeneratorsTest < Rails::Generators::TestCase
mkdir_p(File.dirname(template))
File.open(template, 'w'){ |f| f.write "empty" }
- output = capture(:stdout) do
+ capture(:stdout) do
Rails::Generators.invoke :model, ["user"], :destination_root => destination_root
end