Skip to content

Commit

Permalink
Fix formatting in query_assertions docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu authored Oct 1, 2024
1 parent 0ad2334 commit 7dfe7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/testing/query_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def assert_no_queries(include_schema: false, &block)
# assert_queries_match(/LIMIT \?/) { Post.first }
#
# If the +:include_schema+ option is provided, any queries (including schema related)
# that match the matcher are considered.
# that match the matcher are considered.
#
# assert_queries_match(/FROM pg_attribute/i, include_schema: true) { Post.columns }
#
Expand Down Expand Up @@ -80,7 +80,7 @@ def assert_queries_match(match, count: nil, include_schema: false, &block)
# assert_no_queries_match(/SELECT/i) { post.comments }
#
# If the +:include_schema+ option is provided, any queries (including schema related)
# that match the matcher are counted.
# that match the matcher are counted.
#
# assert_no_queries_match(/FROM pg_attribute/i, include_schema: true) { Post.columns }
#
Expand Down

0 comments on commit 7dfe7fd

Please sign in to comment.