aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/admin
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2015-01-14 18:31:30 +0530
committerVipul A M <vipulnsward@gmail.com>2015-01-14 21:36:58 +0530
commit4ae59ebee8d404def8f9f7c716d1869fb7bb6f01 (patch)
tree6a1de52aacc51db92782d1dc5e1ad8d83fe8220d /activerecord/test/models/admin
parent850159bd2c5e1e108d0256dd05424bbbf7926b59 (diff)
downloadrails-4ae59ebee8d404def8f9f7c716d1869fb7bb6f01.tar.gz
rails-4ae59ebee8d404def8f9f7c716d1869fb7bb6f01.tar.bz2
rails-4ae59ebee8d404def8f9f7c716d1869fb7bb6f01.zip
Fixes #18492
- Add check for not deleting previously created fixtures, to overcome sti fixtures from multiple files - Added fixtures and fixtures test to verify the same - Fixed wrong fixtures duplicating data insertion in same table
Diffstat (limited to 'activerecord/test/models/admin')
-rw-r--r--activerecord/test/models/admin/randomly_named_c1.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/activerecord/test/models/admin/randomly_named_c1.rb b/activerecord/test/models/admin/randomly_named_c1.rb
index 2f81d5b831..b64ae7fc41 100644
--- a/activerecord/test/models/admin/randomly_named_c1.rb
+++ b/activerecord/test/models/admin/randomly_named_c1.rb
@@ -1,3 +1,7 @@
-class Admin::ClassNameThatDoesNotFollowCONVENTIONS < ActiveRecord::Base
- self.table_name = :randomly_named_table
+class Admin::ClassNameThatDoesNotFollowCONVENTIONS1 < ActiveRecord::Base
+ self.table_name = :randomly_named_table2
+end
+
+class Admin::ClassNameThatDoesNotFollowCONVENTIONS2 < ActiveRecord::Base
+ self.table_name = :randomly_named_table3
end