Sha256: a8ff84b83a0d851eb977840ddb72b79b7f62bbc0e629c95af1d83c659ad5b991
Contents?: true
Size: 647 Bytes
Versions: 16
Compression:
Stored size: 647 Bytes
Contents
describe "Check Row" do tests_row :check it "should initialize with correct settings" do @row.object.class.should == Formotion::RowType::CheckRow end # Value it "should be unchecked by default" do cell = @row.make_cell cell.accessoryType.should == UITableViewCellAccessoryNone end it "should be checked when true" do @row.value = true cell = @row.make_cell cell.accessoryType.should == UITableViewCellAccessoryCheckmark end it "should bind its accessory" do @row.value = true cell = @row.make_cell @row.value = false cell.accessoryType.should == UITableViewCellAccessoryNone end end
Version data entries
16 entries across 16 versions & 1 rubygems