Sha256: 881526c3d58c07026a4c5031ad22180607362727487e329bf4c44de0e98c331b
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
require_relative '../spec_helper' describe 'WebElements::TextField' do let(:text_field_object) { double('text_field_object') } let(:text_field_definition) { ::Fluent::WebElements::TextField.new(text_field_object, :platform => :watir_webdriver) } it 'should append text to a text field' do text_field_object.should_receive(:send_keys).with('testing') text_field_definition.append 'testing' end it 'should set the value of a text field' do text_field_object.should_receive(:set).with('testing') text_field_definition.value = 'testing' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-0.2.0 | spec/web_elements/text_field_spec.rb |