Sha256: e33facd927af414c616aae8fb1c072f066db849a091fc6993384bdb94821b44f
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 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.2.0 | spec/support/shared_examples_for_a_cell_collection_.rb |