Sha256: 1c810a0701d15fcb9851f3bbda4bce4a2db6955fc33f1176980bf028a260a9d1
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
require "spec_helper" module PivotTable describe Row do let(:klass) { Row } before { @instance = klass.new } it { should respond_to :header } it { should respond_to :data } it { should respond_to :total } context 'initialize with hash' do subject { klass.new(header: 'header', data: 'data')} its(:header) { should == 'header' } its(:data) { should == 'data' } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pivot_table-0.1.3 | spec/pivot_table/row_spec.rb |