1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/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
..
active_record/connection_adapters
activejob Revert "Run ActiveRecord -> ActiveJob integration tests in CI" 2021-06-15 11:19:04 -04:00
assets Replace test Man with Human 2020-08-14 11:37:09 -04:00
cases Implicitly assert no exception is raised in assert_queries & al 2022-02-19 09:11:14 +01:00
fixtures Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
migrations Sort migration ID as int in db:migrate:status for consistency. 2021-07-16 13:10:31 -05:00
models Fix error when saving an association with a relation named record 2022-01-17 21:46:54 +01:00
schema Dump the precision for datetime columns following the new defaults 2022-02-08 01:36:06 +00:00
support Rename adapter_short to adapter_name 2021-09-21 08:26:04 +09:00
config.example.yml add warning to mysql2 default prepared_statements 2021-12-21 06:36:01 +00:00
config.rb Delete AS::Dependencies.safe_constantize 2021-08-20 17:51:05 +02:00