aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/active_model.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-03-26 21:49:18 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-03-26 21:49:18 +0100
commitdacfdf03d34b8f9a3b81ef2219bf49307f90257e (patch)
treee0e9478584b2251dfc6067c07d975c4d68dd525b /railties/lib/rails/generators/active_model.rb
parentf6b4bf6593f2e69ef5ea27089f1a314b5dc28c2d (diff)
downloadrails-dacfdf03d34b8f9a3b81ef2219bf49307f90257e.tar.gz
rails-dacfdf03d34b8f9a3b81ef2219bf49307f90257e.tar.bz2
rails-dacfdf03d34b8f9a3b81ef2219bf49307f90257e.zip
Cable: Shush pop warnings when skipping Postgres tests.
`skip` raises an exception to abort the execution of the test, so `super` would never be called and thus `@rx_adapter` and `@tx_adapter` would never have been defined at the time of teardown. Define them just before skipping and zap the warnings.
Diffstat (limited to 'railties/lib/rails/generators/active_model.rb')
0 files changed, 0 insertions, 0 deletions