Skip to content

Commit

Permalink
Merge pull request rails#49477 from seanpdoyle/upgrading-rails-lint-v…
Browse files Browse the repository at this point in the history
…iolation

Resolve Upgrading Rails lint violation
  • Loading branch information
p8 authored Oct 3, 2023
2 parents d7e401d + bff9598 commit b8448bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions guides/source/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
@@ -266,7 +266,7 @@ responds to various format methods (for example, `rendered.html` and
test. For example, the following [assert_match][] assertion will pass:

```ruby
assert_match /some content/i, rendered
assert_match(/some content/i, rendered)
```

However, if your tests rely on `ActionView::TestCase#rendered` returning an
@@ -283,7 +283,6 @@ end

[assert_match]: https://docs.seattlerb.org/minitest/Minitest/Assertions.html#method-i-assert_match


Upgrading from Rails 6.1 to Rails 7.0
-------------------------------------

0 comments on commit b8448bc

Please sign in to comment.