Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a93e014594
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.419 kb
require File.expand_path("../spec_helper", __FILE__)
describe Watir::TextArea do
before :each do
browser.goto WatirSpec.url_for('forms_with_input_elements.html')
end
let(:textarea) { browser.textarea }
it 'can set a value' do
textarea.set 'foo'
textarea.value.should == 'foo'
end
it 'can clear a value' do
textarea.set 'foo'
textarea.clear
textarea.value.should == ''
end
end
Jump to Line
Something went wrong with that request. Please try again.