mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Update the way a sentence reads.
This commit is contained in:
@@ -9,8 +9,8 @@ select("Charizard", from: "Pokemon")
|
|||||||
|
|
||||||
However, not all forms are going to have a label paired with every `select`
|
However, not all forms are going to have a label paired with every `select`
|
||||||
input. We don't want to let our test coverage suffer, so we are going to
|
input. We don't want to let our test coverage suffer, so we are going to
|
||||||
need a different way to select. Capybara allows us to chain `select` off a
|
need a different way to select. Fortunately, Capybara allows us to chain
|
||||||
`find` like so:
|
`select` off a `find` like so:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
find('#pokemon_list').select('Charizard')
|
find('#pokemon_list').select('Charizard')
|
||||||
|
|||||||
Reference in New Issue
Block a user