Sha256: 9e40fe1385d6345f2e26590a2dabc9813a08ae945681503ad662b49d1865cd68
Contents?: true
Size: 884 Bytes
Versions: 15
Compression:
Stored size: 884 Bytes
Contents
describe MotionKit::NSTableViewHelpers do before do @layout = TestTableColumnLayout.new.build end it 'should have a column called "foo"' do column = @layout.table.tableColumnWithIdentifier('foo') column.should.be.kind_of(NSTableColumn) end it 'column1 should say "Foo"' do @layout.column1.headerCell.stringValue.should == 'Foo' end it 'should have a column called "bar"' do column = @layout.table.tableColumnWithIdentifier('bar') column.should.be.kind_of(NSTableColumn) end it 'column2 should say "Bar"' do @layout.column2.headerCell.stringValue.should == 'Bar' end it 'should have a column called "quux"' do column = @layout.table.tableColumnWithIdentifier('quux') column.should.be.kind_of(NSTableColumn) end it 'column3 should say "Quux"' do @layout.column3.headerCell.stringValue.should == 'Quux' end end
Version data entries
15 entries across 15 versions & 1 rubygems