提交 017632fe 编写于 作者: C Carlos Antonio da Silva

Remove not used date variable and another test warning

上级 f4c8f8c5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册