Browse files

remove useless assertions

  • Loading branch information...
1 parent 3060dfc commit 327c6023cdf17cd1ac557d5db5bccf92dd681292 @tenderlove tenderlove committed Oct 30, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 railties/test/generators/argv_scrubber_test.rb
View
2 railties/test/generators/argv_scrubber_test.rb
@@ -40,7 +40,6 @@ def self.default_rc_file
end
}.new ['new']
args = scrubber.prepare!
- assert_nil args.first
assert_equal [], args
end
@@ -57,7 +56,6 @@ def test_new_homedir_rc
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

0 comments on commit 327c602

Please sign in to comment.