spec/unit/tables/table_module_spec.rb in ProMotion-2.1.0 vs spec/unit/tables/table_module_spec.rb in ProMotion-2.2.0

- old
+ new

@@ -170,9 +170,13 @@ cell.should.be.kind_of(UITableViewCell) cell.backgroundColor.should.be.kind_of(UIColor) cell.backgroundColor.should == UIColor.blueColor end + it "should have a header view" do + @subject.tableView.tableHeaderView.class.should == UIImageView + end + describe("section with custom title_view") do it "should use the correct class for section view" do cell = @subject.tableView(@subject.table_view, viewForHeaderInSection: 4) cell.should.be.kind_of(CustomTitleView)