diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-11 22:15:09 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-11 22:17:11 +0900 |
commit | 8c1b87f6490fc66bd05d6137f45a1c148f43ecca (patch) | |
tree | e2cd1b6db35cb6621885da29a43f8fbc859535d2 /activerecord | |
parent | 76bb3660242a50fab50a34ad745b4fe9c677b83c (diff) | |
download | rails-8c1b87f6490fc66bd05d6137f45a1c148f43ecca.tar.gz rails-8c1b87f6490fc66bd05d6137f45a1c148f43ecca.tar.bz2 rails-8c1b87f6490fc66bd05d6137f45a1c148f43ecca.zip |
Remove unused `Subject` model in tests
Because `subjects` table doesn't exist.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/models/subject.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/activerecord/test/models/subject.rb b/activerecord/test/models/subject.rb deleted file mode 100644 index 504f68a296..0000000000 --- a/activerecord/test/models/subject.rb +++ /dev/null @@ -1,14 +0,0 @@ -# used for OracleSynonymTest, see test/synonym_test_oracle.rb -# -class Subject < ActiveRecord::Base - # added initialization of author_email_address in the same way as in Topic class - # as otherwise synonym test was failing - after_initialize :set_email_address - - private - def set_email_address - unless persisted? - self.author_email_address = "test@test.com" - end - end -end |