senny / corner_stones

capybara building blocks for acceptance tests.
18 stars 8 forks source link

form#attributes should return option text for selects #14

Closed senny closed 12 years ago

senny commented 12 years ago

the current implementations returns the value of the selected option tags. This isn't that useful when writing tests, since you want to check on the text you've selected. I think we should change form#attributes to return the text from the selected option tag.

stmichael commented 12 years ago

I created a pull request for this issue. Pull Request 18

senny commented 12 years ago

closed in favor of #18