spec/unit/tables/table_screen_spec.rb in ProMotion-0.7.8 vs spec/unit/tables/table_screen_spec.rb in ProMotion-1.0.0
- old
+ new
@@ -10,10 +10,10 @@
it "should display some sections" do
@screen.promotion_table_data.sections.should.be.kind_of(Array)
end
it "should have proper cell numbers" do
- @screen.tableView(@screen.tableView, numberOfRowsInSection:0).should == 6
+ @screen.tableView(@screen.tableView, numberOfRowsInSection:0).should == 7
@screen.tableView(@screen.tableView, numberOfRowsInSection:1).should == 2
@screen.tableView(@screen.tableView, numberOfRowsInSection:2).should == 4
@screen.tableView(@screen.tableView, numberOfRowsInSection:3).should == 3
end