Sha256: 0199f1578a073e83181ba1409cac196f6167fbb530cb6b6be220c0795f51c177
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
require 'spec_helper' describe Furter::Accessors::Table do let(:table) { Furter::Accessors::Table.new(:label => 'tableView') } let(:selector) { table.send(:selector) } context 'locating table' do it 'can be found by id' do table.send(:selector).should eq("view:'UITableView' marked:'tableView'") end end context 'selecting table items' do it 'can select an item by index' do table.should_receive(:touch).with("view:'UITableView' marked:'tableView' tableViewCell index:0") table.touch_index(0) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
furter-0.0.3.2 | spec/lib/furter/accessors/table_spec.rb |