Sha256: 0f89dc16127b102303f912fc96992bf37a73e3a43b20e5eb4c37e3b67d574e58

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Aggregate::Variance, '#type' do
  subject { object.type }

  let(:object)  { described_class.new(operand) }
  let(:operand) { Attribute::Integer.new(:id)  }

  it { should equal(Attribute::Float) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/aggregate/variance/type_spec.rb
veritas-0.0.7 spec/unit/veritas/aggregate/variance/type_spec.rb
veritas-0.0.6 spec/unit/veritas/aggregate/variance/type_spec.rb
veritas-0.0.5 spec/unit/veritas/aggregate/variance/type_spec.rb
veritas-0.0.4 spec/unit/veritas/aggregate/variance/type_spec.rb