aboutsummaryrefslogtreecommitdiffstats
path: root/test/attributes/test_attribute.rb
diff options
context:
space:
mode:
authorRyan Davis <ryand-ruby@zenspider.com>2010-10-18 16:36:49 -0700
committerRyan Davis <ryand-ruby@zenspider.com>2010-10-18 16:36:49 -0700
commita2cee877ec890962d302f24caf99b6ae1de4801f (patch)
tree06bd31f9bd9bd728c35a50b45452eccd48d2e3e6 /test/attributes/test_attribute.rb
parent31f61b822d28a3cdb56e35c73c5102e5e39f81a5 (diff)
downloadrails-a2cee877ec890962d302f24caf99b6ae1de4801f.tar.gz
rails-a2cee877ec890962d302f24caf99b6ae1de4801f.tar.bz2
rails-a2cee877ec890962d302f24caf99b6ae1de4801f.zip
got rid of retarded check method. down with rspec
Diffstat (limited to 'test/attributes/test_attribute.rb')
-rw-r--r--test/attributes/test_attribute.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/attributes/test_attribute.rb b/test/attributes/test_attribute.rb
index 6e707abb03..3ac8766724 100644
--- a/test/attributes/test_attribute.rb
+++ b/test/attributes/test_attribute.rb
@@ -328,8 +328,8 @@ module Arel
it 'should return an equality node' do
attribute = Attribute.new nil, nil, nil
equality = attribute.eq 1
- check equality.left.must_equal attribute
- check equality.right.must_equal 1
+ equality.left.must_equal attribute
+ equality.right.must_equal 1
equality.must_be_kind_of Nodes::Equality
end
@@ -487,8 +487,8 @@ module Arel
it 'should return an in node' do
attribute = Attribute.new nil, nil, nil
node = Nodes::In.new attribute, [1,2,3]
- check node.left.must_equal attribute
- check node.right.must_equal [1, 2, 3]
+ node.left.must_equal attribute
+ node.right.must_equal [1, 2, 3]
end
it 'should generate IN in sql' do
@@ -540,8 +540,8 @@ module Arel
it 'should return a NotIn node' do
attribute = Attribute.new nil, nil, nil
node = Nodes::NotIn.new attribute, [1,2,3]
- check node.left.must_equal attribute
- check node.right.must_equal [1, 2, 3]
+ node.left.must_equal attribute
+ node.right.must_equal [1, 2, 3]
end
it 'should generate NOT IN in sql' do