diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/argv_scrubber_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/argv_scrubber_test.rb b/railties/test/generators/argv_scrubber_test.rb index 5e86acfde5..56df1cec02 100644 --- a/railties/test/generators/argv_scrubber_test.rb +++ b/railties/test/generators/argv_scrubber_test.rb @@ -67,7 +67,7 @@ module Rails define_method(:puts) { |msg| message = msg } }.new ['new'] args = scrubber.prepare! - assert_equal [nil, '--hello-world'], args + assert_equal ['--hello-world'], args assert_match 'hello-world', message assert_match file.path, message ensure @@ -85,7 +85,7 @@ module Rails define_method(:puts) { |msg| message = msg } }.new ['new', "--rc=#{file.path}"] args = scrubber.prepare! - assert_equal [nil, '--hello-world'], args + assert_equal ['--hello-world'], args assert_match 'hello-world', message assert_match file.path, message ensure |