From a2cee877ec890962d302f24caf99b6ae1de4801f Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Mon, 18 Oct 2010 16:36:49 -0700 Subject: got rid of retarded check method. down with rspec --- test/attributes/test_attribute.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/attributes/test_attribute.rb') 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 -- cgit v1.2.3