Sha256: e9d343f6888e5e90dbc350e20a2da0170101f8fc30e136ee95e5e2e71903af6f
Contents?: true
Size: 816 Bytes
Versions: 3
Compression:
Stored size: 816 Bytes
Contents
# encoding: UTF-8 require 'gooddata/models/attributes/anchor' describe GoodData::Model::Anchor do SCHEMA = [] describe '#initialize' do it 'Creates new instance' do instance = GoodData::Model::Anchor.new(nil, SchemaHelper::SCHEMA) instance.should_not == nil end end describe '#table' do it 'Returns Table ' do instance = GoodData::Model::Anchor.new(nil, SchemaHelper::SCHEMA) result = instance.table result.should_not == nil end end describe '#to_maql_create' do it 'Returns MAQL string for schema' do pending('Not working, investigate') instance = GoodData::Model::Anchor.new(nil, SchemaHelper::SCHEMA) result = instance.to_maql_create result.should_not == nil result.should be_an_instance_of(String) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.4 | spec/unit/models/anchor_spec.rb |
gooddata-0.6.3 | spec/unit/models/anchor_spec.rb |
gooddata-0.6.2 | spec/unit/models/anchor_spec.rb |