Skip to content

Commit 5a633df

Browse files
update readme
1 parent 2871a7c commit 5a633df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,14 @@ RSpec.describe Article do
256256
it { is_expected.to embed_many(:comments) }
257257
end
258258

259-
# when the touch option is provided, then we can also verify that it is set.
259+
# when the touch option is provided, then we can also verify that it is set
260260

261-
# by default, with_touch matches true when no parameters are provided.
261+
# by default, with_touch matches true when no parameters are provided
262262
describe Article do
263263
it { is_expected.to belong_to(:author).of_type(User).as_inverse_of(:articles).with_index.with_touch }
264264
end
265265

266-
# parameters are supported for explicit matching.
266+
# parameters are supported for explicit matching
267267
describe Comment do
268268
it { is_expected.to be_embedded_in(:article).as_inverse_of(:comments).with_polymorphism.with_touch(true) }
269269
end
@@ -272,7 +272,7 @@ describe Permalink do
272272
it { is_expected.to be_embedded_in(:linkable).as_inverse_of(:link).with_touch(false) }
273273
end
274274

275-
# touch can also take a symbol represneting a field on the parent to touch.
275+
# touch can also take a symbol representing a field on the parent to touch
276276
describe Record do
277277
it { is_expected.to belong_to(:user).as_inverse_of(:record).with_touch(:record_updated_at) }
278278
end

0 commit comments

Comments
 (0)