Sha256: 67f03e8e4d56d762739240fd5da866a50312537a2961a6c4a3287909db9898a2

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

require 'spec_helper'

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

    let(:klass)  { Relation                                                   }
    let(:object) { klass.new([ [ :id,   Integer ] ], [ [ 1          ] ].each) }
    let(:other)  { klass.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.2 spec/unit/veritas/algebra/product/methods/product_spec.rb