aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-30 15:31:14 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-30 15:31:14 -0700
commit327c6023cdf17cd1ac557d5db5bccf92dd681292 (patch)
tree56b29fed3b2f2be80c2306ef85db0441fdab93d2 /railties/test
parent3060dfce5a45dac0d19ec3d73af3cdebdf0bb20e (diff)
downloadrails-327c6023cdf17cd1ac557d5db5bccf92dd681292.tar.gz
rails-327c6023cdf17cd1ac557d5db5bccf92dd681292.tar.bz2
rails-327c6023cdf17cd1ac557d5db5bccf92dd681292.zip
remove useless assertions
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/argv_scrubber_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/test/generators/argv_scrubber_test.rb b/railties/test/generators/argv_scrubber_test.rb
index 5bf8442074..26b33740c8 100644
--- a/railties/test/generators/argv_scrubber_test.rb
+++ b/railties/test/generators/argv_scrubber_test.rb
@@ -40,7 +40,6 @@ module Rails
end
}.new ['new']
args = scrubber.prepare!
- assert_nil args.first
assert_equal [], args
end
@@ -57,7 +56,6 @@ module Rails
define_method(:puts) { |msg| message = msg }
}.new ['new']
args = scrubber.prepare!
- assert_nil args.first
assert_equal [nil, '--hello-world'], args
assert_match 'hello-world', message
assert_match file.path, message