Sha256: 28b0badc6f3c5e8da4f5a872809fdbd414c895c4faefd2c0e11987a56eb2928a
Contents?: true
Size: 361 Bytes
Versions: 6
Compression:
Stored size: 361 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe 'Net::ReadAdapter extensions' do it 'delegates yaml serialization to the body string' do adapter = Net::ReadAdapter.new(proc { |s| }) adapter << 'some text' adapter << ' and some more text' adapter.to_yaml.should == 'some text and some more text'.to_yaml end end
Version data entries
6 entries across 6 versions & 1 rubygems