Sha256: 76254d13572270dcf3f39ffca7dce0c45cc39b55821f868aa2679d3b43b76555

Contents?: true

Size: 660 Bytes

Versions: 3

Compression:

Stored size: 660 Bytes

Contents

# encoding: UTF-8

require 'gooddata/models/metadata/schema'

module SchemaHelper
  COLUMNS = [
    {:type => :anchor, :name => 'cp', 'title' => 'CP', 'folder' => 'test'},
    {:type => :attribute, :name => 'a1', 'title' => 'A1', 'folder' => 'test'},
    {:type => :attribute, :name => 'a2', 'title' => 'A2', 'folder' => 'test'},
    {:type => :date, :name => 'event', 'title' => 'Event', 'folder' => 'test'},
    {:type => :fact, :name => 'f1', 'title' => 'F1', 'folder' => 'test'},
    {:type => :fact, :name => 'f2', 'title' => 'F2', 'folder' => 'test'},
  ]

  SCHEMA = GoodData::Model::Schema.new :name => 'test', :title => 'test', :columns => COLUMNS
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gooddata-0.6.4 spec/helpers/schema_helper.rb
gooddata-0.6.3 spec/helpers/schema_helper.rb
gooddata-0.6.2 spec/helpers/schema_helper.rb