diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2019-01-14 00:26:27 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2019-01-14 01:19:56 +0100 |
commit | 3631d7eee4bd034f2eefe1b9892d5fcd565579ac (patch) | |
tree | 39161bbb0f3ad71d1fc88673371c205895f9d62b /activemodel/test/cases/attributes_test.rb | |
parent | 2ab9e968c7917d3d8a6e9ee31fa06f83a2dc0760 (diff) | |
download | rails-3631d7eee4bd034f2eefe1b9892d5fcd565579ac.tar.gz rails-3631d7eee4bd034f2eefe1b9892d5fcd565579ac.tar.bz2 rails-3631d7eee4bd034f2eefe1b9892d5fcd565579ac.zip |
Update Action Cable connection testing.
* Don't reimplement assert_raises
Also test what happens in case there's no explicit rejection.
* Avoid OpenStruct. Remove space beneath private.
* Simplify verification methods for code under test.
* Match documentation with other Rails docs.
Also remove mention of the custom path argument for now.
Unsure how useful that really is.
Diffstat (limited to 'activemodel/test/cases/attributes_test.rb')
0 files changed, 0 insertions, 0 deletions