{"id":24707672,"url":"https://github.com/adriastephanie/httparty-rspec-ruby-api","last_synced_at":"2026-04-24T21:32:03.268Z","repository":{"id":140640924,"uuid":"416036586","full_name":"adriastephanie/HTTParty-Rspec-Ruby-Api","owner":"adriastephanie","description":"Teste de APIs com HTTParty, Rspec, e linguagem Ruby.","archived":false,"fork":false,"pushed_at":"2021-10-11T21:13:19.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T16:42:42.222Z","etag":null,"topics":["gitactions-workflow","httparty","rspec","ruby"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adriastephanie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-11T18:08:27.000Z","updated_at":"2021-10-11T21:11:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"855b38e5-d407-4c71-9032-49e0ff566f19","html_url":"https://github.com/adriastephanie/HTTParty-Rspec-Ruby-Api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adriastephanie/HTTParty-Rspec-Ruby-Api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriastephanie%2FHTTParty-Rspec-Ruby-Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriastephanie%2FHTTParty-Rspec-Ruby-Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriastephanie%2FHTTParty-Rspec-Ruby-Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriastephanie%2FHTTParty-Rspec-Ruby-Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adriastephanie","download_url":"https://codeload.github.com/adriastephanie/HTTParty-Rspec-Ruby-Api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriastephanie%2FHTTParty-Rspec-Ruby-Api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32241614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitactions-workflow","httparty","rspec","ruby"],"created_at":"2025-01-27T06:18:09.164Z","updated_at":"2026-04-24T21:32:03.262Z","avatar_url":"https://github.com/adriastephanie.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTParty-Rspec-Ruby-Api\nTeste de APIs com HTTParty, Rspec, e linguagem Ruby.\n\n# Plugin VS CODE\n\n- Ruby for Visual Studio Code\n- Snippets and Syntax Highlight for Gherkin (Cucumber)\n- Gherkin Indent\n- vscode-icons\n\n# Teoria \n\n - RSpec: RSpec é uma biblioteca (gem) que facilita a prática de testes em aplicações Ruby ou Rails, oferecendo uma sintaxe de fácil compreensão e uma gigante quantidade de opções pra escrever e executar testes em uma aplicação.\n\nBoas praticas: https://www.betterspecs.org\n\n- Describe: Describe é usado para explicar o que está sendo trabalhado. Normalmente, você descreverá uma classe e ela envolverá todas as chamadas. \n\n- It: são os casos de teste que são executados dentro do bloco de Describe.\n\n- Context: Faz a mesma coisa que o Describe e permite contextualizar um bloco de teste.\n\n- Let: Ao definir uma variável fazendo uso de let ela não é imediatamente criada em memória, ou seja, let é lazy loading. Depois da primeira execução o valor da variável fica armazenado em cache até que o teste termine. Quando a variável for chamada novamente irá apenas utilizar esse valor armazenado sem precisar executar novamente. Quando teste terminar, o valor da variável irá morrer do cache.\n\n# Execução\n\nEntrar no projeto\n```sh\ncd httparty-rspec-ruby/\n```\n\nPara criar estrutura das pastas do projeto\n```sh\nrspec --init \n```\n\nPara verificar se vai funcionar\n```sh\nrspec\n```\n\n# Documentação da API\n\nhttps://apidetarefas.docs.apiary.io/#\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriastephanie%2Fhttparty-rspec-ruby-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadriastephanie%2Fhttparty-rspec-ruby-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriastephanie%2Fhttparty-rspec-ruby-api/lists"}