spec/unit/searchable_table_spec.rb in ProMotion-2.2.1 vs spec/unit/searchable_table_spec.rb in ProMotion-2.2.2
- old
+ new
@@ -50,6 +50,12 @@
controller.searchDisplayControllerWillEndSearch(controller)
controller.will_end_search_called.should == true
end
+ it "should set the row height of the search display to match the source table row height" do
+ tableView = UITableView.alloc.init
+ tableView.mock!(:rowHeight=)
+ controller.searchDisplayController(controller, didLoadSearchResultsTableView: tableView)
+ end
+
end