From 1a59c8cbc90d37fa571c12049d0e43aa44d46388 Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Sun, 30 Dec 2007 17:35:23 -0800 Subject: sql builder --- spec/sql/select_spec.rb | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 spec/sql/select_spec.rb (limited to 'spec/sql') diff --git a/spec/sql/select_spec.rb b/spec/sql/select_spec.rb deleted file mode 100644 index 7d40a20a5b..0000000000 --- a/spec/sql/select_spec.rb +++ /dev/null @@ -1,19 +0,0 @@ -require File.join(File.dirname(__FILE__), '..', 'spec_helper') - -describe Select, '==' do - it "obtains for queries with identical attributes" do - Select.new(:foo).should == Select.new(:foo) - Select.new(:bar).should_not == Select.new(:foo) - end - - it "obtains for queries with identical tables" do - Select.new(:foo).from(:bar).should == Select.new(:foo).from(:bar) - Select.new(:foo).from(:bar).should_not == Select.new(:foo).from(:foo) - end - - it "obtains for queries with identical predicates" do - Select.new(:foo).from(:bar).where(:baz).should == Select.new(:foo).from(:bar).where(:baz) - Select.new(:foo).from(:bar).where(:baz).should_not == Select.new(:foo).from(:bar).where(:foo) - end - -end \ No newline at end of file -- cgit v1.2.3