lib/capybara/spec/session/find_field_spec.rb in capybara-3.0.0.rc1 vs lib/capybara/spec/session/find_field_spec.rb in capybara-3.0.0.rc2

- old
+ new

@@ -5,10 +5,10 @@ @session.visit('/form') end 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 context "aria_label attribute with Capybara.enable_aria_label" do