aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/courses.yml
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-03-24 20:03:43 +0900
committeryui-knk <spiketeika@gmail.com>2016-03-24 20:45:23 +0900
commitcf570d7d0153283d2175b7330270d94291884864 (patch)
tree2ff43614ead7e934d4bb9e96b9c1da69cbf8012d /activerecord/test/fixtures/courses.yml
parent878c2bbaaf21f88543e75d4a986652d128ea8448 (diff)
downloadrails-cf570d7d0153283d2175b7330270d94291884864.tar.gz
rails-cf570d7d0153283d2175b7330270d94291884864.tar.bz2
rails-cf570d7d0153283d2175b7330270d94291884864.zip
Change for `ActiveRecord::Migration.[]` to raise `ArgumentError` instead of `RuntimeError`
The error is raised because user passed invalid version number to a public api of `ActiveRecord`, so `ArgumentError` is more suitable. And add a test case checking if an error is raised when unknown migration version is passed, because these test cases are not implemented.
Diffstat (limited to 'activerecord/test/fixtures/courses.yml')
0 files changed, 0 insertions, 0 deletions