Sha256: 330fdacf11f0fc233dad4ef411eff6490146b10b457e8a4ede2b9190901a6ac9
Contents?: true
Size: 1.05 KB
Versions: 14
Compression:
Stored size: 1.05 KB
Contents
# encoding: UTF-8 require 'gooddata' RAW_DATA = { 'metric'=> {'content'=> {'format'=>'#,##0', 'expression'=> 'SELECT SUM([/gdc/md/ksjy0nr3goz6k8yrpklz97l0mych7nez/obj/700])'}, 'meta' => {'author'=>'/gdc/account/profile/4e1e8cacc4989228e0ae531b30853248', 'uri'=>'/gdc/md/ksjy0nr3goz6k8yrpklz97l0mych7nez/obj/70', 'tags'=>'a b cg r t', 'created'=>'2014-04-30 22:47:57', 'identifier'=>'afo7bx1VakCz', 'deprecated'=>'0', 'summary'=>'', 'title'=>'sum of Lines changed', 'category'=>'metric', 'updated'=>'2014-05-05 20:00:42', 'contributor'=>'/gdc/account/profile/4e1e8cacc4989228e0ae531b30853248'}} } describe GoodData::MdObject do before(:each) do @instance = GoodData::MdObject.new(RAW_DATA) end describe '#identifier=' do it 'Allows setting a new identifier' do identifier = @instance.identifier @instance.identifier = 'new_id' new_identifier = @instance.identifier new_identifier.should_not == identifier new_identifier.should == 'new_id' end end end
Version data entries
14 entries across 14 versions & 1 rubygems