spec/imw/formats/delimited_spec.rb in imw-0.2.4 vs spec/imw/formats/delimited_spec.rb in imw-0.2.5
- old
+ new
@@ -16,18 +16,6 @@
data = [['foobar', 1, 2], ['bazbooz', 3, 4]]
IMW.open!('test.csv').dump(data)
IMW.open('test.csv').load[1].last.should == "4"
end
- it "should yield each row when load is given a block" do
- @sample.load do |row|
- row.class.should == Array
- break
- end
- end
-
- it "can map each row with a block" do
- @sample.map do |row|
- row.first
- end.class.should == Array
- end
end