Sha256: 324ac790c73c21d0cddcfb6fa17484f19b9dc942f2ab1e912029f1064766d806

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

require 'spec_helper'
module Alf
  describe Operator::NonRelational do
    
    specify "each" do
      x = []
      Operator::NonRelational.each{|m| x << m}
      x.sort{|m1,m2| m1.name.to_s <=> m2.name.to_s}.should == [
        Alf::Operator::NonRelational::Autonum,
        Alf::Operator::NonRelational::Clip,
        Alf::Operator::NonRelational::Compact,
        Alf::Operator::NonRelational::Defaults,
        Alf::Operator::NonRelational::Sort,
      ]
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-0.9.3 spec/unit/operator/test_non_relational.rb
alf-0.9.2 spec/unit/operator/test_non_relational.rb
alf-0.9.1 spec/unit/operator/test_non_relational.rb