diff options
author | Rich <jychen7@users.noreply.github.com> | 2018-08-20 01:18:28 +0800 |
---|---|---|
committer | Rich <jychen7@users.noreply.github.com> | 2018-08-20 01:18:28 +0800 |
commit | d510295b31dd6311f88e2eb2c76b12b1b0ab960a (patch) | |
tree | 0034ba687795625a7ca26892ac849848653ac227 /railties/test/application/initializers | |
parent | fd1ec91c73ccfa1df71098a93cee76e9dd12a24b (diff) | |
download | rails-d510295b31dd6311f88e2eb2c76b12b1b0ab960a.tar.gz rails-d510295b31dd6311f88e2eb2c76b12b1b0ab960a.tar.bz2 rails-d510295b31dd6311f88e2eb2c76b12b1b0ab960a.zip |
Improve test case to test enum correctly
without define the enum in class “SpecialBook”, any string status will be casted to integer 0. Then the test have no meaning.
[Rich Chen]
Diffstat (limited to 'railties/test/application/initializers')
0 files changed, 0 insertions, 0 deletions