Fixed spec to use unuppercased states

This commit is contained in:
Maxim Colls
2017-11-28 10:15:02 +00:00
committed by Maikel Linke
parent 09f98307f4
commit 5db1559f28

View File

@@ -49,7 +49,7 @@ feature "Registration", js: true do
fill_in 'enterprise_city', with: 'Northcote'
fill_in 'enterprise_zipcode', with: '3070'
expect(page).to have_select('enterprise_country', options: %w(Albania Australia), selected: 'Australia')
select 'VIC', from: 'enterprise_state'
select 'Vic', from: 'enterprise_state'
perform_and_ensure(:click_button, "Continue", lambda { page.has_content? 'Who is responsible for managing My Awesome Enterprise?' })