Sha256: 3fa3d072de2baadf1fbcf1f279790477d7dc3033b70f8c28cfea74bba8be49d5
Contents?: true
Size: 652 Bytes
Versions: 3
Compression:
Stored size: 652 Bytes
Contents
require 'spec_helper' describe Tableficate::ActionColumn do before(:all) do @action_column = Tableficate::ActionColumn.new(nil) do 'Actions Here!' end end it 'should always have sorting off ' do @action_column.show_sort?.should be false end it 'should always indicate that it is not sorted' do @action_column.is_sorted?.should be false end it 'should have a blank name' do @action_column.name.should == '' end it 'should accept options' do action_column = Tableficate::ActionColumn.new(nil, header: 'Actions') do 'Actions Here!' end action_column.header.should == 'Actions' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tableficate-0.3.2 | spec/action_column_spec.rb |
tableficate-0.3.1 | spec/action_column_spec.rb |
tableficate-0.3.0 | spec/action_column_spec.rb |