diff options
author | Takehiro Adachi <takehiro0740@gmail.com> | 2013-05-17 17:10:37 +0900 |
---|---|---|
committer | Takehiro Adachi <takehiro0740@gmail.com> | 2013-12-03 20:44:11 +0900 |
commit | 05746fe14f8fbabd56d34b367d1bcaa268f3710c (patch) | |
tree | 4717c60a9700443af197d9f70edbcb16519a769a /activerecord/lib/active_record/autosave_association.rb | |
parent | b6f189e2f0bcc8f36f52c83e8ac2255d5e578a42 (diff) | |
download | rails-05746fe14f8fbabd56d34b367d1bcaa268f3710c.tar.gz rails-05746fe14f8fbabd56d34b367d1bcaa268f3710c.tar.bz2 rails-05746fe14f8fbabd56d34b367d1bcaa268f3710c.zip |
Refactor AR's validations_test.rb
The `:context` switch feature is implemented in
ActiveRecord::Validations#valid? method, so we should rename the test
names, and execute `valid?` in the test.
Change test name in AR's validations_test.rb
This test is testing save method's code
Diffstat (limited to 'activerecord/lib/active_record/autosave_association.rb')
0 files changed, 0 insertions, 0 deletions