use select instead of fill_in capybara
This commit is contained in:
parent
1af6fa5ad1
commit
5b8e7ade2f
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ feature Registration do
|
|||
|
||||
fill_in 'first_name', with: 'foo'
|
||||
fill_in 'last_name', with: 'bar'
|
||||
fill_in 'expiration_year', with: Date.current.year + 2
|
||||
select Date.current.year + 2, from: 'expiration_year'
|
||||
fill_in 'card_verification_value', with: '123'
|
||||
fill_in 'credit_card_number', with: '4242424242424242'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue