aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2013-05-07 22:34:11 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2013-05-08 09:50:46 +0530
commitb5429eec6084cfe9f1283620391f81e3f6fefda4 (patch)
treeb8cddafe4b25a510ef767c9703506b03989da0d2 /railties
parentd156b4724f79d51bb924ccb5055f3602bb7fcc65 (diff)
downloadrails-b5429eec6084cfe9f1283620391f81e3f6fefda4.tar.gz
rails-b5429eec6084cfe9f1283620391f81e3f6fefda4.tar.bz2
rails-b5429eec6084cfe9f1283620391f81e3f6fefda4.zip
Fix Typo existant -> existent [ci skip]
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/shared_generator_tests.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb
index 2724882a23..369a0ee46c 100644
--- a/railties/test/generators/shared_generator_tests.rb
+++ b/railties/test/generators/shared_generator_tests.rb
@@ -77,9 +77,9 @@ module SharedGeneratorTests
end
def test_template_raises_an_error_with_invalid_path
- content = capture(:stderr){ run_generator([destination_root, "-m", "non/existant/path"]) }
+ content = capture(:stderr){ run_generator([destination_root, "-m", "non/existent/path"]) }
assert_match(/The template \[.*\] could not be loaded/, content)
- assert_match(/non\/existant\/path/, content)
+ assert_match(/non\/existent\/path/, content)
end
def test_template_is_executed_when_supplied