Sha256: 30efc7b94e838f777d0dddd2b949fe4b00ad07b1bf1342815fcb5e3e90e25e8e

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

[ :product, :* ].each do |method|
  describe Algebra::Product::Methods, "##{method}" do
    subject { object.send(method, other) }

    let(:described_class) { Relation                                                             }
    let(:object)          { described_class.new([ [ :id,   Integer ] ], [ [ 1          ] ].each) }
    let(:other)           { described_class.new([ [ :name, String  ] ], [ [ 'Dan Kubb' ] ].each) }

    it { should be_kind_of(Algebra::Product) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/algebra/product/methods/product_spec.rb