Sha256: 821d9796486dc664711c0fa122a05ff3d6accb2a7a9ca866a01b5d06a8b4b169

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

describe "PM::Table module" do
  
  before do
    @screen = TableScreenIndexable.new
  end
  
  it "should automatically return the first letter of each section" do
    result = %w{ A G M O S U }
    @screen.sectionIndexTitlesForTableView(@screen.table_view).should == result
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ProMotion-1.0.3 spec/unit/tables/table_indexable_spec.rb
ProMotion-1.0.2 spec/unit/tables/table_indexable_spec.rb
ProMotion-1.0.1 spec/unit/tables/table_indexable_spec.rb
ProMotion-1.0.0 spec/unit/tables/table_indexable_spec.rb