mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
test should rely on value, not text for textarea
This commit is contained in:
parent
5c8b0983b3
commit
353ef5a121
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ Capybara::SpecHelper.spec '#find_field' do
|
|||
|
||||
it "should find any field" do
|
||||
expect(@session.find_field('Dog').value).to eq('dog')
|
||||
expect(@session.find_field('form_description').text).to eq('Descriptive text goes here')
|
||||
expect(@session.find_field('form_description').value).to eq('Descriptive text goes here')
|
||||
expect(@session.find_field('Region')[:name]).to eq('form[region]')
|
||||
expect(@session.find_field('With Asterisk*')).to be
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue