From 327c6023cdf17cd1ac557d5db5bccf92dd681292 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 30 Oct 2013 15:31:14 -0700 Subject: remove useless assertions --- railties/test/generators/argv_scrubber_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'railties') 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 -- cgit v1.2.3