Sha256: 5b83e118439cc47971915fae5c9bb75b3ccbcd1221eff420c70811fbbadad9a2
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
shared_examples "a cell collection" do it { should respond_to :header } it { should respond_to :data } it { should respond_to :value_name } it { should respond_to :total } context 'initialize with hash' do subject { klass.new(attrs) } let(:attrs) do { header: 'header', data: 'data', value_name: "value_name" } end its(:header) { should == attrs[:header] } its(:data) { should == attrs[:data] } its(:value_name) { should == attrs[:value_name] } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pivot_table-0.1.4 | spec/support/shared_examples.rb |