Sha256: 1408a8fa6fbb4112d52743e643e9691208799b412eb36c50f2256e144c5bd4ec

Contents?: true

Size: 318 Bytes

Versions: 10

Compression:

Stored size: 318 Bytes

Contents

require 'spec_helper'
module Alf
  describe Operator do
    
    specify "each" do
      ops = []
      Operator.each{|m| ops << m}
      nonrel = []
      Operator::NonRelational.each{|m| nonrel << m}
      rel = []
      Operator::Relational.each{|m| rel << m}
      ops.should == nonrel + rel
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alf-0.12.2 spec/unit/alf-core/test_operator.rb
alf-0.12.1 spec/unit/alf-core/test_operator.rb
alf-0.12.0 spec/unit/alf-core/test_operator.rb
alf-0.11.1 spec/unit/alf-core/test_operator.rb
alf-0.11.0 spec/unit/alf-core/test_operator.rb
alf-0.10.1 spec/unit/test_operator.rb
alf-0.10.0 spec/unit/test_operator.rb
alf-0.9.3 spec/unit/test_operator.rb
alf-0.9.2 spec/unit/test_operator.rb
alf-0.9.1 spec/unit/test_operator.rb