Permalink
Browse files

Remove not used date variable and another test warning

  • Loading branch information...
1 parent f4c8f8c commit 017632fe2b45fca68685bed2dabfa97bb6722351 @carlosantoniodasilva carlosantoniodasilva committed May 14, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/test/generators/app_generator_test.rb
@@ -89,7 +89,7 @@ def test_application_new_show_help_message_inside_existing_rails_directory
output = Dir.chdir(app_root) do
`rails new --help`
end
- assert_match /rails new APP_PATH \[options\]/, output
+ assert_match(/rails new APP_PATH \[options\]/, output)
assert_equal true, $?.success?
end
@@ -378,7 +378,6 @@ def test_pretend_option
end
def test_humans_txt_file
- date = Date.today.strftime("%B %d, %Y")
run_generator [File.join(destination_root, 'things-43')]
assert_file "things-43/public/humans.txt", /Name: Things43/, /Software: Ruby on Rails/
end

0 comments on commit 017632f

Please sign in to comment.