public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Fixed reflection_for_gps_location test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@835 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Sun Mar 06 03:56:22 -0800 2005
commit  fe6d929bf03650382db06ed63a199f9baa79102d
tree    bc2603b4d353e2eecf071ca84e23d8f97e1a6083
parent  5e44eda7872c6ee33e0d09a4b9fd78896e14b95a
...
49
50
51
 
 
 
 
52
53
 
54
55
56
...
49
50
51
52
53
54
55
56
 
57
58
59
60
0
@@ -49,8 +49,12 @@
0
       :composed_of, :balance, { :class_name => "Money", :mapping => %w(balance amount) }, Customer
0
     )
0
 
0
+ reflection_for_gps_location = ActiveRecord::Reflection::AggregateReflection.new(
0
+ :composed_of, :gps_location, { }, Customer
0
+ )
0
+
0
     assert_equal(
0
- [ reflection_for_address, reflection_for_balance ],
0
+ [ reflection_for_address, reflection_for_balance, reflection_for_gps_location ],
0
       Customer.reflect_on_all_aggregations
0
     )
0
     

Comments

    No one has commented yet.