Sha256: 5dc45f40811ff7574a9ace8876ab81093f0c1ce0e6a23fc865a370648e4f4d85
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
describe ObjectExtractor do it "calls methods on the object" do extractor = ObjectExtractor.new(2, nil) extractor["to_s"].should eq "2" end it "delegates to the parent if there it doesn't respnd to something" do extractor = ObjectExtractor.new(2, ObjectExtractor.new("string", nil)) extractor["upcase"].should eq "STRING" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
musterb-0.0.1 | spec/musterb/object_extractor_spec.rb |