Skip to content

Commit 60cb67b

Browse files
authored
Merge pull request rails#53127 from ghiculescu/patch-12
Fix formatting in `query_assertions` docs
2 parents 0ad2334 + 7dfe7fd commit 60cb67b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/testing/query_assertions.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def assert_no_queries(include_schema: false, &block)
5252
# assert_queries_match(/LIMIT \?/) { Post.first }
5353
#
5454
# If the +:include_schema+ option is provided, any queries (including schema related)
55-
# that match the matcher are considered.
55+
# that match the matcher are considered.
5656
#
5757
# assert_queries_match(/FROM pg_attribute/i, include_schema: true) { Post.columns }
5858
#
@@ -80,7 +80,7 @@ def assert_queries_match(match, count: nil, include_schema: false, &block)
8080
# assert_no_queries_match(/SELECT/i) { post.comments }
8181
#
8282
# If the +:include_schema+ option is provided, any queries (including schema related)
83-
# that match the matcher are counted.
83+
# that match the matcher are counted.
8484
#
8585
# assert_no_queries_match(/FROM pg_attribute/i, include_schema: true) { Post.columns }
8686
#

0 commit comments

Comments
 (0)