aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_factory_methods.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-14 09:43:19 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-14 09:43:19 -0800
commit9653da3c7963834eb9ed93bf24837147fa9b0461 (patch)
tree08015f4d72cfc5ac615e600de87a953514a59411 /test/test_factory_methods.rb
parent87c022bc98c57027f534d5e667cfc0344b5b40f0 (diff)
downloadrails-9653da3c7963834eb9ed93bf24837147fa9b0461.tar.gz
rails-9653da3c7963834eb9ed93bf24837147fa9b0461.tar.bz2
rails-9653da3c7963834eb9ed93bf24837147fa9b0461.zip
adding a join source node
Diffstat (limited to 'test/test_factory_methods.rb')
-rw-r--r--test/test_factory_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_factory_methods.rb b/test/test_factory_methods.rb
index 89b10236d1..c40615564f 100644
--- a/test/test_factory_methods.rb
+++ b/test/test_factory_methods.rb
@@ -12,9 +12,9 @@ module Arel
end
def test_create_join
- join = @factory.create_join :one, :two, :three
+ join = @factory.create_join :one, :two
assert_kind_of Nodes::Join, join
- assert_equal :three, join.constraint
+ assert_equal :two, join.constraint
end
def test_create_on