Sha256: 167e213b6b0254caa42e6df405359ec8987051c45462c0ab4efd4f9617577209
Contents?: true
Size: 657 Bytes
Versions: 2
Compression:
Stored size: 657 Bytes
Contents
require 'spec_helper' describe Wombat::Metadata do it 'should have basic structure' do metadata = Wombat::Metadata.new metadata[:event_props].class.should == Wombat::Properties metadata[:venue_props].class.should == Wombat::Properties metadata[:location_props].class.should == Wombat::Properties metadata.event_props.should == metadata[:event_props] metadata.venue_props.should == metadata[:venue_props] metadata.location_props.should == metadata[:location_props] end it 'should be able to get hash key like a method' do m = Wombat::Metadata.new m[:some_data] = "yeah" m.some_data.should == "yeah" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wombat-0.1.2 | spec/metadata_spec.rb |
wombat-0.1.1 | spec/metadata_spec.rb |