{"action":"created","comment":{"url":"https://api.github.com/repos/moip/moip-sdk-js/pulls/comments/43871066","id":43871066,"diff_hunk":"@@ -0,0 +1,37 @@\n+describe(\"BancoDoBrasilValidator\", function() {\n+\n+  var callbacks;\n+\n+  beforeEach(function() { \n+    callbacks = {\n+      valid: jasmine.createSpy(),\n+      invalid: jasmine.createSpy(),\n+    };\n+\n+    validBankAccount = new Moip.BankAccount({","path":"spec/bank_account/banco_do_brasil_validator.spec.js","position":11,"original_position":11,"commit_id":"c80960c93a00cbea1d47948d4f5ddd86e241857d","original_commit_id":"c80960c93a00cbea1d47948d4f5ddd86e241857d","user":{"login":"brenooliveira","id":242964,"avatar_url":"https://avatars.githubusercontent.com/u/242964?v=3","gravatar_id":"","url":"https://api.github.com/users/brenooliveira","html_url":"https://github.com/brenooliveira","followers_url":"https://api.github.com/users/brenooliveira/followers","following_url":"https://api.github.com/users/brenooliveira/following{/other_user}","gists_url":"https://api.github.com/users/brenooliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/brenooliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenooliveira/subscriptions","organizations_url":"https://api.github.com/users/brenooliveira/orgs","repos_url":"https://api.github.com/users/brenooliveira/repos","events_url":"https://api.github.com/users/brenooliveira/events{/privacy}","received_events_url":"https://api.github.com/users/brenooliveira/received_events","type":"User","site_admin":false},"body":"nao deveria ter um ```var validBankAccount ``` fora do before ??","created_at":"2015-11-04T11:47:33Z","updated_at":"2015-11-04T11:47:33Z","html_url":"https://github.com/moip/moip-sdk-js/pull/5#discussion_r43871066","pull_request_url":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/moip/moip-sdk-js/pulls/comments/43871066"},"html":{"href":"https://github.com/moip/moip-sdk-js/pull/5#discussion_r43871066"},"pull_request":{"href":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5","id":49028335,"html_url":"https://github.com/moip/moip-sdk-js/pull/5","diff_url":"https://github.com/moip/moip-sdk-js/pull/5.diff","patch_url":"https://github.com/moip/moip-sdk-js/pull/5.patch","issue_url":"https://api.github.com/repos/moip/moip-sdk-js/issues/5","number":5,"state":"open","locked":false,"title":"[WIP] Início da validacão do Contas Bancárias","user":{"login":"willmiranda","id":1749980,"avatar_url":"https://avatars.githubusercontent.com/u/1749980?v=3","gravatar_id":"","url":"https://api.github.com/users/willmiranda","html_url":"https://github.com/willmiranda","followers_url":"https://api.github.com/users/willmiranda/followers","following_url":"https://api.github.com/users/willmiranda/following{/other_user}","gists_url":"https://api.github.com/users/willmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/willmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmiranda/subscriptions","organizations_url":"https://api.github.com/users/willmiranda/orgs","repos_url":"https://api.github.com/users/willmiranda/repos","events_url":"https://api.github.com/users/willmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/willmiranda/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-28T16:10:30Z","updated_at":"2015-11-04T11:47:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1422a4e1a8c2b47f5b7e37335057d009f0b5da4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5/commits","review_comments_url":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5/comments","review_comment_url":"https://api.github.com/repos/moip/moip-sdk-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moip/moip-sdk-js/issues/5/comments","statuses_url":"https://api.github.com/repos/moip/moip-sdk-js/statuses/c80960c93a00cbea1d47948d4f5ddd86e241857d","head":{"label":"moip:bank_account_validator","ref":"bank_account_validator","sha":"c80960c93a00cbea1d47948d4f5ddd86e241857d","user":{"login":"moip","id":5281980,"avatar_url":"https://avatars.githubusercontent.com/u/5281980?v=3","gravatar_id":"","url":"https://api.github.com/users/moip","html_url":"https://github.com/moip","followers_url":"https://api.github.com/users/moip/followers","following_url":"https://api.github.com/users/moip/following{/other_user}","gists_url":"https://api.github.com/users/moip/gists{/gist_id}","starred_url":"https://api.github.com/users/moip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moip/subscriptions","organizations_url":"https://api.github.com/users/moip/orgs","repos_url":"https://api.github.com/users/moip/repos","events_url":"https://api.github.com/users/moip/events{/privacy}","received_events_url":"https://api.github.com/users/moip/received_events","type":"Organization","site_admin":false},"repo":{"id":18187015,"name":"moip-sdk-js","full_name":"moip/moip-sdk-js","owner":{"login":"moip","id":5281980,"avatar_url":"https://avatars.githubusercontent.com/u/5281980?v=3","gravatar_id":"","url":"https://api.github.com/users/moip","html_url":"https://github.com/moip","followers_url":"https://api.github.com/users/moip/followers","following_url":"https://api.github.com/users/moip/following{/other_user}","gists_url":"https://api.github.com/users/moip/gists{/gist_id}","starred_url":"https://api.github.com/users/moip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moip/subscriptions","organizations_url":"https://api.github.com/users/moip/orgs","repos_url":"https://api.github.com/users/moip/repos","events_url":"https://api.github.com/users/moip/events{/privacy}","received_events_url":"https://api.github.com/users/moip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moip/moip-sdk-js","description":"Cliente Javascript Moip, possibilita a criptografia de dados sensíveis de cartão no browser do cliente assim como identificação e validação de números de cartão de crédito.","fork":false,"url":"https://api.github.com/repos/moip/moip-sdk-js","forks_url":"https://api.github.com/repos/moip/moip-sdk-js/forks","keys_url":"https://api.github.com/repos/moip/moip-sdk-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moip/moip-sdk-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moip/moip-sdk-js/teams","hooks_url":"https://api.github.com/repos/moip/moip-sdk-js/hooks","issue_events_url":"https://api.github.com/repos/moip/moip-sdk-js/issues/events{/number}","events_url":"https://api.github.com/repos/moip/moip-sdk-js/events","assignees_url":"https://api.github.com/repos/moip/moip-sdk-js/assignees{/user}","branches_url":"https://api.github.com/repos/moip/moip-sdk-js/branches{/branch}","tags_url":"https://api.github.com/repos/moip/moip-sdk-js/tags","blobs_url":"https://api.github.com/repos/moip/moip-sdk-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moip/moip-sdk-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moip/moip-sdk-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/moip/moip-sdk-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moip/moip-sdk-js/statuses/{sha}","languages_url":"https://api.github.com/repos/moip/moip-sdk-js/languages","stargazers_url":"https://api.github.com/repos/moip/moip-sdk-js/stargazers","contributors_url":"https://api.github.com/repos/moip/moip-sdk-js/contributors","subscribers_url":"https://api.github.com/repos/moip/moip-sdk-js/subscribers","subscription_url":"https://api.github.com/repos/moip/moip-sdk-js/subscription","commits_url":"https://api.github.com/repos/moip/moip-sdk-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/moip/moip-sdk-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/moip/moip-sdk-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/moip/moip-sdk-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/moip/moip-sdk-js/contents/{+path}","compare_url":"https://api.github.com/repos/moip/moip-sdk-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moip/moip-sdk-js/merges","archive_url":"https://api.github.com/repos/moip/moip-sdk-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moip/moip-sdk-js/downloads","issues_url":"https://api.github.com/repos/moip/moip-sdk-js/issues{/number}","pulls_url":"https://api.github.com/repos/moip/moip-sdk-js/pulls{/number}","milestones_url":"https://api.github.com/repos/moip/moip-sdk-js/milestones{/number}","notifications_url":"https://api.github.com/repos/moip/moip-sdk-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moip/moip-sdk-js/labels{/name}","releases_url":"https://api.github.com/repos/moip/moip-sdk-js/releases{/id}","created_at":"2014-03-27T18:38:55Z","updated_at":"2015-08-13T11:16:54Z","pushed_at":"2015-11-03T22:23:07Z","git_url":"git://github.com/moip/moip-sdk-js.git","ssh_url":"git@github.com:moip/moip-sdk-js.git","clone_url":"https://github.com/moip/moip-sdk-js.git","svn_url":"https://github.com/moip/moip-sdk-js","homepage":"https://moip.com.br/docs/#moip-js","size":484,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"moip:master","ref":"master","sha":"d20230e8d32e96a12ff85b84d14ed8b8e00c4ae8","user":{"login":"moip","id":5281980,"avatar_url":"https://avatars.githubusercontent.com/u/5281980?v=3","gravatar_id":"","url":"https://api.github.com/users/moip","html_url":"https://github.com/moip","followers_url":"https://api.github.com/users/moip/followers","following_url":"https://api.github.com/users/moip/following{/other_user}","gists_url":"https://api.github.com/users/moip/gists{/gist_id}","starred_url":"https://api.github.com/users/moip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moip/subscriptions","organizations_url":"https://api.github.com/users/moip/orgs","repos_url":"https://api.github.com/users/moip/repos","events_url":"https://api.github.com/users/moip/events{/privacy}","received_events_url":"https://api.github.com/users/moip/received_events","type":"Organization","site_admin":false},"repo":{"id":18187015,"name":"moip-sdk-js","full_name":"moip/moip-sdk-js","owner":{"login":"moip","id":5281980,"avatar_url":"https://avatars.githubusercontent.com/u/5281980?v=3","gravatar_id":"","url":"https://api.github.com/users/moip","html_url":"https://github.com/moip","followers_url":"https://api.github.com/users/moip/followers","following_url":"https://api.github.com/users/moip/following{/other_user}","gists_url":"https://api.github.com/users/moip/gists{/gist_id}","starred_url":"https://api.github.com/users/moip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moip/subscriptions","organizations_url":"https://api.github.com/users/moip/orgs","repos_url":"https://api.github.com/users/moip/repos","events_url":"https://api.github.com/users/moip/events{/privacy}","received_events_url":"https://api.github.com/users/moip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moip/moip-sdk-js","description":"Cliente Javascript Moip, possibilita a criptografia de dados sensíveis de cartão no browser do cliente assim como identificação e validação de números de cartão de crédito.","fork":false,"url":"https://api.github.com/repos/moip/moip-sdk-js","forks_url":"https://api.github.com/repos/moip/moip-sdk-js/forks","keys_url":"https://api.github.com/repos/moip/moip-sdk-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moip/moip-sdk-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moip/moip-sdk-js/teams","hooks_url":"https://api.github.com/repos/moip/moip-sdk-js/hooks","issue_events_url":"https://api.github.com/repos/moip/moip-sdk-js/issues/events{/number}","events_url":"https://api.github.com/repos/moip/moip-sdk-js/events","assignees_url":"https://api.github.com/repos/moip/moip-sdk-js/assignees{/user}","branches_url":"https://api.github.com/repos/moip/moip-sdk-js/branches{/branch}","tags_url":"https://api.github.com/repos/moip/moip-sdk-js/tags","blobs_url":"https://api.github.com/repos/moip/moip-sdk-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moip/moip-sdk-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moip/moip-sdk-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/moip/moip-sdk-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moip/moip-sdk-js/statuses/{sha}","languages_url":"https://api.github.com/repos/moip/moip-sdk-js/languages","stargazers_url":"https://api.github.com/repos/moip/moip-sdk-js/stargazers","contributors_url":"https://api.github.com/repos/moip/moip-sdk-js/contributors","subscribers_url":"https://api.github.com/repos/moip/moip-sdk-js/subscribers","subscription_url":"https://api.github.com/repos/moip/moip-sdk-js/subscription","commits_url":"https://api.github.com/repos/moip/moip-sdk-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/moip/moip-sdk-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/moip/moip-sdk-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/moip/moip-sdk-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/moip/moip-sdk-js/contents/{+path}","compare_url":"https://api.github.com/repos/moip/moip-sdk-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moip/moip-sdk-js/merges","archive_url":"https://api.github.com/repos/moip/moip-sdk-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moip/moip-sdk-js/downloads","issues_url":"https://api.github.com/repos/moip/moip-sdk-js/issues{/number}","pulls_url":"https://api.github.com/repos/moip/moip-sdk-js/pulls{/number}","milestones_url":"https://api.github.com/repos/moip/moip-sdk-js/milestones{/number}","notifications_url":"https://api.github.com/repos/moip/moip-sdk-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moip/moip-sdk-js/labels{/name}","releases_url":"https://api.github.com/repos/moip/moip-sdk-js/releases{/id}","created_at":"2014-03-27T18:38:55Z","updated_at":"2015-08-13T11:16:54Z","pushed_at":"2015-11-03T22:23:07Z","git_url":"git://github.com/moip/moip-sdk-js.git","ssh_url":"git@github.com:moip/moip-sdk-js.git","clone_url":"https://github.com/moip/moip-sdk-js.git","svn_url":"https://github.com/moip/moip-sdk-js","homepage":"https://moip.com.br/docs/#moip-js","size":484,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5"},"html":{"href":"https://github.com/moip/moip-sdk-js/pull/5"},"issue":{"href":"https://api.github.com/repos/moip/moip-sdk-js/issues/5"},"comments":{"href":"https://api.github.com/repos/moip/moip-sdk-js/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/moip/moip-sdk-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moip/moip-sdk-js/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/moip/moip-sdk-js/statuses/c80960c93a00cbea1d47948d4f5ddd86e241857d"}}}}