aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS.rdoc
diff options
context:
space:
mode:
authorRich <jychen7@users.noreply.github.com>2018-08-20 01:18:28 +0800
committerRich <jychen7@users.noreply.github.com>2018-08-20 01:18:28 +0800
commitd510295b31dd6311f88e2eb2c76b12b1b0ab960a (patch)
tree0034ba687795625a7ca26892ac849848653ac227 /activerecord/RUNNING_UNIT_TESTS.rdoc
parentfd1ec91c73ccfa1df71098a93cee76e9dd12a24b (diff)
downloadrails-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 'activerecord/RUNNING_UNIT_TESTS.rdoc')
0 files changed, 0 insertions, 0 deletions