aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorSamantha John <sam@gethopscotch.com>2019-03-06 16:35:52 -0500
committerSamantha John <sam@gethopscotch.com>2019-03-06 16:35:52 -0500
commit755112c7b15ad5a8a8621ac307a55b6bbf487c7b (patch)
tree0066a1b2862ccc596f8bf256582a12e6c0da0f85 /activemodel
parent134eaca7e2f32651eb5bbbcbea8fb990bff22b08 (diff)
downloadrails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.tar.gz
rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.tar.bz2
rails-755112c7b15ad5a8a8621ac307a55b6bbf487c7b.zip
Replace “can not” with “cannot”.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/attribute_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/attribute_test.rb b/activemodel/test/cases/attribute_test.rb
index 20c02e689c..097db2e923 100644
--- a/activemodel/test/cases/attribute_test.rb
+++ b/activemodel/test/cases/attribute_test.rb
@@ -204,7 +204,7 @@ module ActiveModel
assert_not_predicate unchanged, :changed?
end
- test "an attribute can not be mutated if it has not been read,
+ test "an attribute cannot be mutated if it has not been read,
and skips expensive calculations" do
type_which_raises_from_all_methods = Object.new
attribute = Attribute.from_database(:foo, "bar", type_which_raises_from_all_methods)