1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/test
Jean Boussier e26372b713 Implicitly assert no exception is raised in assert_queries & al
Fix: https://github.com/rails/rails/pull/44397
Ref: https://github.com/rails/rails/pull/37313
Ref: https://github.com/rails/rails/pull/42459

This avoid mistakes such as:

```ruby
assert_raise Something do
  assert_queries(1) do
    raise Something
  end
end
```

Co-Authored-By: Alex Coomans <alexc@squareup.com>
2022-02-19 09:11:14 +01:00
..
analyzer
controllers Revert #38957 (#44287) 2022-01-29 14:27:45 +01:00
database
dummy Use dynamic Rails version in framework dummy apps 2021-12-08 11:31:49 -06:00
fixtures
jobs
models ActiveStorage: support empty attachments submits 2021-12-14 18:40:35 -05:00
previewer
service Pass an array through our stack, don't bother converting back & forth 2021-12-04 02:25:42 +01:00
template
urls
engine_test.rb
fixture_set_test.rb
javascript_package_test.rb
migrations_test.rb
test_helper.rb Implicitly assert no exception is raised in assert_queries & al 2022-02-19 09:11:14 +01:00