jnicklas/capybara — pull request #992 by yannp (2013-03-07 15:23:57+00:00)
Title: Add :tag_name option to the have_field Rspec matcher

Following the discussion on https://github.com/jnicklas/capybara/issues/981 I took the liberty to implement an option to have_field() allowing to filter by tag name ('input', 'textarea', 'select'), ex:

```expect(page).to have_field('Description', :tag_name => 'textarea')```