From 9cea9bc7f0c104095dddc036bea7f6ecb9590075 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Wed, 31 Mar 2010 02:33:04 +0100 Subject: Refactor compute_type to handle situations where the correct class is already loaded Signed-off-by: wycats --- activerecord/test/fixtures/collections.yml | 3 +++ activerecord/test/fixtures/products.yml | 4 ++++ activerecord/test/fixtures/variants.yml | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 activerecord/test/fixtures/collections.yml create mode 100644 activerecord/test/fixtures/products.yml create mode 100644 activerecord/test/fixtures/variants.yml (limited to 'activerecord/test/fixtures') 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 -- cgit v1.2.3