diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2010-03-31 02:33:04 +0100 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-04-12 21:31:20 -0700 |
commit | 9cea9bc7f0c104095dddc036bea7f6ecb9590075 (patch) | |
tree | 612e9c686756164fa5fedb71985f6105624137f4 /activerecord/test/fixtures | |
parent | ee04aea3ec1461368a72db525b325846e29b0045 (diff) | |
download | rails-9cea9bc7f0c104095dddc036bea7f6ecb9590075.tar.gz rails-9cea9bc7f0c104095dddc036bea7f6ecb9590075.tar.bz2 rails-9cea9bc7f0c104095dddc036bea7f6ecb9590075.zip |
Refactor compute_type to handle situations where the correct class is already loaded
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/collections.yml | 3 | ||||
-rw-r--r-- | activerecord/test/fixtures/products.yml | 4 | ||||
-rw-r--r-- | activerecord/test/fixtures/variants.yml | 4 |
3 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/collections.yml b/activerecord/test/fixtures/collections.yml new file mode 100644 index 0000000000..ad0fd26554 --- /dev/null +++ b/activerecord/test/fixtures/collections.yml @@ -0,0 +1,3 @@ +collection_1: + id: 1 + name: Collection diff --git a/activerecord/test/fixtures/products.yml b/activerecord/test/fixtures/products.yml new file mode 100644 index 0000000000..8a197fb038 --- /dev/null +++ b/activerecord/test/fixtures/products.yml @@ -0,0 +1,4 @@ +product_1: + id: 1 + collection_id: 1 + name: Product diff --git a/activerecord/test/fixtures/variants.yml b/activerecord/test/fixtures/variants.yml new file mode 100644 index 0000000000..06be30727b --- /dev/null +++ b/activerecord/test/fixtures/variants.yml @@ -0,0 +1,4 @@ +variant_1: + id: 1 + product_id: 1 + name: Variant |