Sha256: 160db48c899e212d6deae0050041f2c61a971c7bdf0ee5208b3ae9fdebe7d5c4
Contents?: true
Size: 816 Bytes
Versions: 1
Compression:
Stored size: 816 Bytes
Contents
require File.join(File.dirname(__FILE__),"../../lib/cello/structure/page") module Mock module Site class MockPage < Cello::Structure::Page element :element, :element, :id => 'elem1' element :text_field, :text_field, :id => 'text1' element :text_fieldname, :text_field, :name => 'text1' element :text_fieldxpath, :text_field, :xpah, '//*[@id="text1"]' element :checkbox, :checkbox, :id => 'check1' element :textarea, :textarea, :id => 'area1' element :radios, :radios, :name => 'items' element :select, :select, :id => 'select1' element :link, :link, :id => 'link1' def get_url 'file://' + File.dirname(__FILE__) + '/../site/inputs.html' end def initialize(teste) super(teste) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.19 | spec/mock/page.rb |