Sha256: 2908b5f8822c8ff5971be06442e52fd78670784a1859e492752b5e8cc85c817b
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 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', total: 'total')} its(:header) { should == 'header' } its(:data) { should == 'data' } its(:total) { should == 'total' } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pivot_table-0.1.1 | spec/pivot_table/row_spec.rb |