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
[ { "gentilico" : "afegãne", | |
"nome_pais" : "Afeganistão", | |
"nome_pais_int" : "Afghanistan", | |
"sigla" : "AF" | |
}, | |
{ "gentilico" : "sul-africana", | |
"nome_pais" : "África do Sul", | |
"nome_pais_int" : "South Africa", | |
"sigla" : "ZA" | |
}, |
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
// Updated based on a list apparently from 2013 available on: | |
// http://concla.ibge.gov.br/classificacoes/por-tema/codigo-de-areas/codigo-de-areas | |
[ | |
{ | |
"name": "Acre", | |
"acronym": "AC", | |
"time_zone": "America/Rio_Branco", | |
"region": "Norte", | |
"capital": "Rio Branco", | |
"code": 12, |
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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |