-
-
Save etagwerker/e10c24fad130b94b0e5c51ed38a6638a to your computer and use it in GitHub Desktop.
rspec spec/models output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker-compose run app next rspec spec/models | |
Starting e-petitions_cache_1 ... done | |
Starting e-petitions_db_1 ... done | |
DEPRECATION WARNING: `config.serve_static_files` is deprecated and will be removed in Rails 5.1. | |
Please use `config.public_file_server.enabled = true` instead. | |
(called from block in <top (required)> at /usr/src/app/config/environments/test.rb:16) | |
DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1. | |
Please use | |
`config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }` | |
instead. | |
(called from block in <top (required)> at /usr/src/app/config/environments/test.rb:17) | |
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /usr/src/app/config/environment.rb:5) | |
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change | |
them to actual class references. For example: | |
"CloudFrontRemoteIp" => CloudFrontRemoteIp | |
(called from <top (required)> at /usr/src/app/config/environment.rb:5) | |
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change | |
them to actual class references. For example: | |
"QuietLogger" => QuietLogger | |
(called from <top (required)> at /usr/src/app/config/environment.rb:5) | |
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change | |
them to actual class references. For example: | |
"ActionDispatch::RemoteIp" => ActionDispatch::RemoteIp | |
(called from <top (required)> at /usr/src/app/config/environment.rb:5) | |
DEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from table_exists? at /usr/src/app/app/models/site.rb:23) | |
DEPRECATION WARNING: Specifying strings for both :path and the route path is deprecated. Change things like this: | |
match "signed", :path => "sponsored" | |
to this: | |
match "sponsored", :as => "signed", :action => "signed" | |
(called from block (5 levels) in <top (required)> at /usr/src/app/config/routes.rb:56) | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
Randomized with seed 63124 | |
..................................................................................................................................F......................................................................................................................................FF.........................................................................................DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (5 levels) in <top (required)> at /usr/src/app/spec/models/signature_spec.rb:106) | |
......................................................................................................................DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (2 levels) in destroy! at /usr/src/app/app/models/signature.rb:92) | |
.DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (2 levels) in destroy! at /usr/src/app/app/models/signature.rb:92) | |
..DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (2 levels) in destroy! at /usr/src/app/app/models/signature.rb:92) | |
.....................................................................................................................................................................................DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (2 levels) in destroy! at /usr/src/app/app/models/archived/signature.rb:64) | |
.DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (2 levels) in destroy! at /usr/src/app/app/models/archived/signature.rb:64) | |
.DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (2 levels) in destroy! at /usr/src/app/app/models/archived/signature.rb:64) | |
..................................................DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (5 levels) in <top (required)> at /usr/src/app/spec/models/archived/signature_spec.rb:75) | |
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DEPRECATION WARNING: Returning `false` in Active Record and Active Model callbacks will not implicitly halt a callback chain in Rails 5.1. To explicitly halt the callback chain, please use `throw :abort` instead. (called from block (4 levels) in <top (required)> at /usr/src/app/spec/models/invalidation_spec.rb:32) | |
.......................DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
.DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
.DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
.DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
.DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
.DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
..DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
DEPRECATION WARNING: Passing `ActiveRecord::Base` objects to `sanitize_sql_hash_for_assignment` (or methods which call it, such as `update_all`) is deprecated. Please pass the id directly, instead. (called from block in invalidate! at /usr/src/app/app/models/signature.rb:605) | |
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF...........................................................................................................................................................................................................................................................................DEPRECATION WARNING: Passing an argument to force an association to reload is now deprecated and will be removed in Rails 5.1. Please call `reload_rejection` instead. (called from rejection at /usr/src/app/app/models/petition.rb:639) | |
...........................................................................................................................F............................................................................................... | |
Failures: | |
1) Archived::Petition behaves like a taggable model should have an index on columns tags | |
Failure/Error: it { is_expected.to have_db_index(:tags) } | |
Expected Archived::Petition to have an index on columns tags () | |
Shared Example Group: "a taggable model" called from ./spec/models/archived/petition_spec.rb:299 | |
# ./spec/models/taggable_examples.rb:3:in `block (2 levels) in <top (required)>' | |
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning' | |
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>' | |
2) Archived::Petition associations parliament is required | |
Failure/Error: | |
expect { | |
petition.valid? | |
}.to change { | |
petition.errors[:parliament] | |
}.from([]).to(["Parliament can't be blank"]) | |
expected `petition.errors[:parliament]` to have changed to ["Parliament can't be blank"], but is now ["translation missing: en-GB.activerecord.errors.models.archived/petition.attributes.parliament.required"] | |
# ./spec/models/archived/petition_spec.rb:12:in `block (4 levels) in <top (required)>' | |
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning' | |
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>' | |
3) Archived::Petition associations parliament should belong to parliament required: inverse_of => petitions | |
Failure/Error: it { is_expected.to belong_to(:parliament).inverse_of(:petitions) } | |
Expected Archived::Petition to have a belongs_to association called parliament (and for the record not to fail validation if :parliament is unset; i.e., either the association should have been defined with `required: nil`, or there should not be a presence validation on :parliament) | |
# ./spec/models/archived/petition_spec.rb:9:in `block (4 levels) in <top (required)>' | |
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning' | |
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>' | |
4) Petition#cache_key rounds down to the nearest 5 seconds | |
Failure/Error: expect(petition.cache_key).to eq("petitions/#{petition.id}-20160629000005000000000") | |
expected: "petitions/200489-20160629000005000000000" | |
got: "petitions/200489-20160629000005000000" | |
(compared using ==) | |
# ./spec/models/petition_spec.rb:2527:in `block (3 levels) in <top (required)>' | |
# ./spec/models/petition_spec.rb:2523:in `block (4 levels) in <top (required)>' | |
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/testing/time_helpers.rb:110:in `travel_to' | |
# ./spec/models/petition_spec.rb:2523:in `block (3 levels) in <top (required)>' | |
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning' | |
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>' | |
5) Petition#cache_key can use other columns | |
Failure/Error: expect(petition.cache_key(:open_at, :last_signed_at)).to eq("petitions/#{petition.id}-20160628000015000000000") | |
expected: "petitions/200490-20160628000015000000000" | |
got: "petitions/200490-20160628000015000000" | |
(compared using ==) | |
# ./spec/models/petition_spec.rb:2531:in `block (3 levels) in <top (required)>' | |
# ./spec/models/petition_spec.rb:2523:in `block (4 levels) in <top (required)>' | |
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/testing/time_helpers.rb:110:in `travel_to' | |
# ./spec/models/petition_spec.rb:2523:in `block (3 levels) in <top (required)>' | |
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning' | |
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>' | |
6) Petition behaves like a taggable model should have an index on columns tags | |
Failure/Error: it { is_expected.to have_db_index(:tags) } | |
Expected Petition to have an index on columns tags () | |
Shared Example Group: "a taggable model" called from ./spec/models/petition_spec.rb:770 | |
# ./spec/models/taggable_examples.rb:3:in `block (2 levels) in <top (required)>' | |
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning' | |
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning' | |
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>' | |
Finished in 4 minutes 8.9 seconds (files took 8.06 seconds to load) | |
2258 examples, 6 failures | |
Failed examples: | |
rspec './spec/models/archived/petition_spec.rb[1:10:2]' # Archived::Petition behaves like a taggable model should have an index on columns tags | |
rspec ./spec/models/archived/petition_spec.rb:11 # Archived::Petition associations parliament is required | |
rspec ./spec/models/archived/petition_spec.rb:9 # Archived::Petition associations parliament should belong to parliament required: inverse_of => petitions | |
rspec ./spec/models/petition_spec.rb:2526 # Petition#cache_key rounds down to the nearest 5 seconds | |
rspec ./spec/models/petition_spec.rb:2530 # Petition#cache_key can use other columns | |
rspec './spec/models/petition_spec.rb[1:6:2]' # Petition behaves like a taggable model should have an index on columns tags | |
Randomized with seed 63124 | |
Cleaning up... | |
Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment