Sha256: 453e58d8bca99596e14378127d142bc1174968ff52aa50ea0ca17c5a412904b8
Contents?: true
Size: 330 Bytes
Versions: 12
Compression:
Stored size: 330 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require 'hamster/core_ext/io' describe IO do describe "#to_list" do it "returns an equivalent list" do File.open(File.dirname(__FILE__) + "/io_spec.txt") do |io| io.to_list.should == Hamster.list("A\n", "B\n", "C\n") end end end end
Version data entries
12 entries across 12 versions & 1 rubygems