Sha256: 2f5ba57f7d016ee8ebe47ca6a39ce55cf3f6acd0bed0b9df4cc9b0db600939d7
Contents?: true
Size: 196 Bytes
Versions: 3
Compression:
Stored size: 196 Bytes
Contents
require 'spec_helper' require 'extlib/struct' describe Struct do it "should have attributes" do s = Struct.new(:name).new('bob') s.attributes.should == { :name => 'bob' } end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
extlib-0.9.16 | spec/struct_spec.rb |
extlib-0.9.15 | spec/struct_spec.rb |
robsharp-extlib-0.9.15 | spec/struct_spec.rb |