Sha256: 9678714208d0074521dee0998f6f9ad0679dcfee23d108d71a54f5da49eb485a
Contents?: true
Size: 381 Bytes
Versions: 4
Compression:
Stored size: 381 Bytes
Contents
# -*- coding: utf-8 -*- require 'unit/spec_helper' require 'dumpster/model/generic' describe Dumpster::Model::Generic do let(:data) { [['col1-row1', 'col2-row1'], ['col1-row2', 'col2-row2']] } subject { described_class.new(data) } it '#each iteriert über die Daten' do rows = [] subject.each do |row| rows << row end rows.should == data end end
Version data entries
4 entries across 4 versions & 1 rubygems