Sha256: 7440dc224e48e8d0691007145290e29526f2cf46ba2399f69ce9fdc71a105592

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

describe GoodData::Model::DatasetBlueprint do
  let(:dataset) do
    { columns: [{ type: 'hll' },
                { type: 'fact' },
                { type: 'date_fact' }] }
  end
  subject { GoodData::Model::DatasetBlueprint }
  describe '.facts' do
    it 'returns facts of supported types' do
      result = subject.facts(dataset)
      expect(result).to eq(dataset[:columns])
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gooddata-1.1.0-java spec/unit/models/dataset_blueprint.rb
gooddata-1.1.0 spec/unit/models/dataset_blueprint.rb