Created
March 22, 2013 17:30
-
-
Save rodrigoulisses/5223173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scenario 'should validate person is company' do | |
Individual.make!(:sobrinho) | |
Company.make!(:ibrama) | |
navigate 'Relatório > Cadastrais > Controle de Seguros' | |
within_modal 'Seguradora' do | |
click_button 'Pesquisar' | |
expect(page).to have_content "85.113.468/0001-45" | |
expect(page).to_not have_content "003.151.987-37" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment