diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-07 22:31:11 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-07 22:31:15 -0200 |
commit | a0730e00275842dd3545c61b68bbd8c41a361efe (patch) | |
tree | f0cd10f28b7378b0387b0a081e3c0c0df8b58b59 /railties/test/generators | |
parent | 9b6de9c34e9c8b476f1c8bef0058f68936f01c38 (diff) | |
download | rails-a0730e00275842dd3545c61b68bbd8c41a361efe.tar.gz rails-a0730e00275842dd3545c61b68bbd8c41a361efe.tar.bz2 rails-a0730e00275842dd3545c61b68bbd8c41a361efe.zip |
Fix readme tests
Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8.
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/actions_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb index c9e9f33d4e..f8fa8ee153 100644 --- a/railties/test/generators/actions_test.rb +++ b/railties/test/generators/actions_test.rb @@ -203,14 +203,14 @@ class ActionsTest < Rails::Generators::TestCase def test_readme run_generator Rails::Generators::AppGenerator.expects(:source_root).times(2).returns(destination_root) - assert_match(/Welcome to Rails/, action(:readme, "README.rdoc")) + assert_match "application up and running", action(:readme, "README.rdoc") end def test_readme_with_quiet generator(default_arguments, quiet: true) run_generator Rails::Generators::AppGenerator.expects(:source_root).times(2).returns(destination_root) - assert_no_match(/Welcome to Rails/, action(:readme, "README.rdoc")) + assert_no_match "application up and running", action(:readme, "README.rdoc") end def test_log |