diff options
Diffstat (limited to 'spec/algebra/unit/relations/order_spec.rb')
-rw-r--r-- | spec/algebra/unit/relations/order_spec.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/algebra/unit/relations/order_spec.rb b/spec/algebra/unit/relations/order_spec.rb deleted file mode 100644 index 9fcdffe340..0000000000 --- a/spec/algebra/unit/relations/order_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'spec_helper' - -module Arel - describe Order do - before do - @relation = Table.new(:users) - @attribute = @relation[:id] - end - - describe "#==" do - it "returns true when the Orders are for the same attribute and direction" do - Ascending.new(@attribute).should == Ascending.new(@attribute) - end - - it "returns false when the Orders are for a diferent direction" do - Ascending.new(@attribute).should_not == Descending.new(@attribute) - end - end - end -end - |