spec/unit/tables/table_screen_spec.rb in ProMotion-2.2.0 vs spec/unit/tables/table_screen_spec.rb in ProMotion-2.2.1
- old
+ new
@@ -49,10 +49,11 @@
end
end
end
it "sets the auto row height and estimated row height properly" do
- @screen.view.rowHeight.should == UITableViewAutomaticDimension
+ @screen.view.rowHeight.should == UITableViewAutomaticDimension if TestHelper.gte_ios8
+ @screen.view.rowHeight.should == 97 unless TestHelper.gte_ios8
@screen.view.estimatedRowHeight.should == 97
end
it "sets the fixed row height properly" do
screen = UpdateTestTableScreen.new