Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Typo existant -> existent [ci skip]

  • Loading branch information...
commit b5429eec6084cfe9f1283620391f81e3f6fefda4 1 parent d156b47
@prathamesh-sonpatki prathamesh-sonpatki authored
View
2  activerecord/CHANGELOG.md
@@ -4,7 +4,7 @@
* Fixed a bug in `ActiveRecord#sanitize_sql_hash_for_conditions` in which
`self.class` is an argument to `PredicateBuilder#build_from_hash`
- causing `PredicateBuilder` to call non-existant method
+ causing `PredicateBuilder` to call non-existent method
`Class#reflect_on_association`.
*Zach Ohlgren*
View
2  activesupport/test/notifications_test.rb
@@ -99,7 +99,7 @@ def test_publishing_after_a_new_subscribe_works
@notifier.publish :foo
@notifier.publish :foo
- @notifier.subscribe("not_existant") do |*args|
+ @notifier.subscribe("not_existent") do |*args|
@events << ActiveSupport::Notifications::Event.new(*args)
end
View
4 railties/test/generators/shared_generator_tests.rb
@@ -77,9 +77,9 @@ def test_shebang_when_is_the_same_as_default_use_env
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
Please sign in to comment.
Something went wrong with that request. Please try again.