Sha256: 4fa8eebb870f6df513e8619f84cf6af6e19e00c4b54a1dc44c231b51e648736d
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 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.3 | spec/lib/furter/accessors/table_spec.rb |