Last active
September 13, 2015 20:59
-
-
Save t33chong/53b6fbcecb2364eb4982 to your computer and use it in GitHub Desktop.
lita-github rspec failures
This file contains hidden or 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
tristan@15th:~/Code/lita-dev/workspace/lita-github$ bi | |
Resolving dependencies... | |
Using rake 10.4.2 | |
Using addressable 2.3.8 | |
Using ast 2.1.0 | |
Using parser 2.2.2.6 | |
Using astrolabe 1.3.1 | |
Using bundler 1.10.6 | |
Using docile 1.1.5 | |
Using json 1.8.3 | |
Using simplecov-html 0.10.0 | |
Using simplecov 0.10.0 | |
Using codeclimate-test-reporter 0.4.8 | |
Using coderay 1.1.0 | |
Using diff-lcs 1.2.5 | |
Using multipart-post 2.0.0 | |
Using faraday 0.9.1 | |
Using rspec-support 3.3.0 | |
Using rspec-core 3.3.2 | |
Using rspec-expectations 3.3.1 | |
Using rspec-mocks 3.3.2 | |
Using rspec 3.3.0 | |
Using ruby-progressbar 1.7.5 | |
Using fuubar 2.0.0 | |
Using rack 1.6.4 | |
Using url_mount 0.2.1 | |
Using http_router 0.11.2 | |
Using i18n 0.7.0 | |
Using ice_nine 0.11.1 | |
Using multi_json 1.11.2 | |
Using puma 2.13.4 | |
Using rb-readline 0.5.3 | |
Using redis 3.2.1 | |
Using redis-namespace 1.5.2 | |
Using thor 0.19.1 | |
Using lita 4.6.1 (was 4.4.3) | |
Using lita-confirmation 1.0.1 | |
Using sawyer 0.6.0 | |
Using octokit 3.8.0 | |
Using rotp 2.1.1 | |
Using lita-github 0.1.2 from source at . | |
Using method_source 0.8.2 | |
Using powerpack 0.0.9 | |
Using slop 3.6.0 | |
Using pry 0.10.1 | |
Using rainbow 2.0.0 | |
Using rubocop 0.28.0 | |
Using yard 0.8.7.6 | |
Bundle complete! 9 Gemfile dependencies, 46 gems now installed. | |
Use `bundle show [gemname]` to see where a bundled gem is installed. |
This file contains hidden or 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
tristan@15th:~/Code/lita-dev/workspace/lita-github$ bundle exec rspec | |
1) Lita::Handlers::GithubIssues.issues_list when all goes well should reply with the list of issues | |
Failure/Error: send_command('gh issues GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_issues.rb:66:in `issues_list' | |
# ./spec/unit/lita/handlers/github_issues_spec.rb:107:in `block (4 levels) in <top (required)>' | |
2) Lita::Handlers::GithubIssues.issues_list when there are no issues should return message indicating no issues | |
Failure/Error: send_command('gh issues GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_issues.rb:66:in `issues_list' | |
# ./spec/unit/lita/handlers/github_issues_spec.rb:120:in `block (4 levels) in <top (required)>' | |
3) Lita::Handlers::GithubIssues.issues_list when there is an option that fails validation should reply with the response from .validate_list_opts | |
Failure/Error: send_command('gh issues GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_issues.rb:66:in `issues_list' | |
# ./spec/unit/lita/handlers/github_issues_spec.rb:129:in `block (4 levels) in <top (required)>' | |
4) Lita::Handlers::GithubIssues.issues_list when the repo is not found should reply with response indicating repo not found | |
Failure/Error: send_command('gh issues GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_issues.rb:66:in `issues_list' | |
# ./spec/unit/lita/handlers/github_issues_spec.rb:138:in `block (4 levels) in <top (required)>' | |
5) Lita::Handlers::GithubIssues.issues_list when an option passes validation, but fails from GitHub should reply indicating an issue was hit and include the exception message | |
Failure/Error: send_command('gh issues GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_issues.rb:66:in `issues_list' | |
# ./spec/unit/lita/handlers/github_issues_spec.rb:147:in `block (4 levels) in <top (required)>' | |
6) Lita::Handlers::GithubIssues.issues_list when there is a general error when calling GitHub should reply indicating an issue was hit and include the exception message | |
Failure/Error: send_command('gh issues GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_issues.rb:66:in `issues_list' | |
# ./spec/unit/lita/handlers/github_issues_spec.rb:157:in `block (4 levels) in <top (required)>' | |
7) Lita::Handlers::GithubOrg.org_teams_list when provided a valid org should return a list of the team sorted, with Owners at the top | |
Failure/Error: send_command('gh teams GrapeDuty') | |
NoMethodError: | |
undefined method `organization_teams' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_org.rb:116:in `org_teams_list' | |
# ./spec/unit/lita/handlers/github_org_spec.rb:145:in `block (4 levels) in <top (required)>' | |
8) Lita::Handlers::GithubOrg.org_teams_list when provided an invalid org should return a message indicating it could not find the organization | |
Failure/Error: send_command('gh teams GrapeDuty') | |
NoMethodError: | |
undefined method `organization_teams' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_org.rb:116:in `org_teams_list' | |
# ./spec/unit/lita/handlers/github_org_spec.rb:158:in `block (4 levels) in <top (required)>' | |
9) Lita::Handlers::GithubOrg.org_team_add when all goes well should return that the team was created | |
Failure/Error: expect(replies.last).to eql "The 'HeckmanTest' team was created; Slug: heckmantest, ID: 42, Perms: pull" | |
expected: "The 'HeckmanTest' team was created; Slug: heckmantest, ID: 42, Perms: pull" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:182:in `block (4 levels) in <top (required)>' | |
10) Lita::Handlers::GithubOrg.org_team_add when all the options are missing should respond with an error listing each one | |
Failure/Error: expect(replies.last).to eql "Missing the name option | |
expected: "Missing the name option\nMissing the perms option\n" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
Diff: | |
@@ -1,3 +1,2 @@ | |
-Missing the name option | |
-Missing the perms option | |
+Sorry, this function has either been disabled or not enabled in the config | |
# ./spec/unit/lita/handlers/github_org_spec.rb:198:in `block (4 levels) in <top (required)>' | |
11) Lita::Handlers::GithubOrg.org_team_add when the permission level is not a known one should respond telling you the permission is unknown | |
Failure/Error: expect(replies.last).to eql 'Valid perms are: pull push admin -- they can be ' \ | |
expected: "Valid perms are: pull push admin -- they can be selectively enabled via the config\n" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-Valid perms are: pull push admin -- they can be selectively enabled via the config | |
+Sorry, this function has either been disabled or not enabled in the config | |
# ./spec/unit/lita/handlers/github_org_spec.rb:207:in `block (4 levels) in <top (required)>' | |
12) Lita::Handlers::GithubOrg.org_team_add when the permission is now allowed in the config should respond informing you of the permitted permissions | |
Failure/Error: expect(replies.last).to eql 'Sorry, the permission level you requested was not allowed in the '\ | |
expected: "Sorry, the permission level you requested was not allowed in the config. Right now the only perms permitted are: pull, push" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:215:in `block (4 levels) in <top (required)>' | |
13) Lita::Handlers::GithubOrg.org_team_add when the organization is not found should reply that the org was not found | |
Failure/Error: expect(replies.last).to eql "The organization 'GrapeDuty' was not found. Does my user have ownership perms?" | |
expected: "The organization 'GrapeDuty' was not found. Does my user have ownership perms?" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:225:in `block (4 levels) in <top (required)>' | |
14) Lita::Handlers::GithubOrg.org_team_rm when all goes well should return the success message | |
Failure/Error: expect(replies.last).to eql "The 'HeckmanTest' team was deleted. Its ID was 42" | |
expected: "The 'HeckmanTest' team was deleted. Its ID was 42" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:243:in `block (4 levels) in <top (required)>' | |
15) Lita::Handlers::GithubOrg.org_team_rm when the team does not exist should respond with the team not found error | |
Failure/Error: expect(replies.last).to eql 'Unable to match any teams based on: 42' | |
expected: "Unable to match any teams based on: 42" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:261:in `block (4 levels) in <top (required)>' | |
16) Lita::Handlers::GithubOrg.org_team_rm when deletion fails should respond with the action failure message | |
Failure/Error: expect(replies.last).to eql "Something went wrong trying to delete the 'HeckmanTest' " \ | |
expected: "Something went wrong trying to delete the 'HeckmanTest' team. Is Github having issues?" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:270:in `block (4 levels) in <top (required)>' | |
17) Lita::Handlers::GithubOrg.org_eject_user when all goes well should reply that the user was ejected | |
Failure/Error: expect(replies.last).to eql 'Ejected theckman out of GrapeDuty' | |
expected: "Ejected theckman out of GrapeDuty" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:300:in `block (4 levels) in <top (required)>' | |
18) Lita::Handlers::GithubOrg.org_eject_user when the user is the same user should return the gtfo error message | |
Failure/Error: expect(replies.last).to eql "No...\n\nಠ_ಠ" | |
expected: "No...\n\nಠ_ಠ" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
Diff: | |
@@ -1,4 +1,2 @@ | |
-No... | |
- | |
-ಠ_ಠ | |
+Sorry, this function has either been disabled or not enabled in the config | |
# ./spec/unit/lita/handlers/github_org_spec.rb:318:in `block (4 levels) in <top (required)>' | |
19) Lita::Handlers::GithubOrg.org_eject_user when the user is not found should reply with the user not found message | |
Failure/Error: expect(replies.last).to eql 'Unable to find the GitHub user theckman' | |
expected: "Unable to find the GitHub user theckman" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:327:in `block (4 levels) in <top (required)>' | |
20) Lita::Handlers::GithubOrg.org_eject_user when the Octokit client call bombs should return the *boom* error | |
Failure/Error: expect(replies.last).to eql 'I had a problem :( ... Octokit::NotFound' | |
expected: "I had a problem :( ... Octokit::NotFound" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:336:in `block (4 levels) in <top (required)>' | |
21) Lita::Handlers::GithubOrg.org_eject_user when the action fails should respond with the failure message | |
Failure/Error: expect(replies.last).to eql 'Failed to eject the user from the organization for an unknown reason' | |
expected: "Failed to eject the user from the organization for an unknown reason" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:345:in `block (4 levels) in <top (required)>' | |
22) Lita::Handlers::GithubOrg.org_user_add when all goes well should respond with a successful add | |
Failure/Error: expect(replies.last).to eql "theckman has been added to the 'GrapeDuty/HeckmanTest' (heckmantest) team" | |
expected: "theckman has been added to the 'GrapeDuty/HeckmanTest' (heckmantest) team" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:380:in `block (4 levels) in <top (required)>' | |
23) Lita::Handlers::GithubOrg.org_user_add when the user is the same user should return the gtfo error message | |
Failure/Error: expect(replies.last).to eql "No...\n\nಠ_ಠ" | |
expected: "No...\n\nಠ_ಠ" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
Diff: | |
@@ -1,4 +1,2 @@ | |
-No... | |
- | |
-ಠ_ಠ | |
+Sorry, this function has either been disabled or not enabled in the config | |
# ./spec/unit/lita/handlers/github_org_spec.rb:398:in `block (4 levels) in <top (required)>' | |
24) Lita::Handlers::GithubOrg.org_user_add when the user is not found should reply with the user not found message | |
Failure/Error: expect(replies.last).to eql 'Unable to find the GitHub user theckman' | |
expected: "Unable to find the GitHub user theckman" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:407:in `block (4 levels) in <top (required)>' | |
25) Lita::Handlers::GithubOrg.org_user_add when the team is not found should reply with the team not found message | |
Failure/Error: expect(replies.last).to eql 'Unable to match any teams based on: heckmantest' | |
expected: "Unable to match any teams based on: heckmantest" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:416:in `block (4 levels) in <top (required)>' | |
26) Lita::Handlers::GithubOrg.org_user_add when an error is hit adding the team membership should reply with the *boom* message | |
Failure/Error: expect(replies.last).to eql 'I had a problem :( ... StandardError' | |
expected: "I had a problem :( ... StandardError" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:425:in `block (4 levels) in <top (required)>' | |
27) Lita::Handlers::GithubOrg.org_user_rm when all goes well should respond with a successful removal | |
Failure/Error: expect(replies.last).to eql "theckman has been removed from the 'GrapeDuty/HeckmanTest' (heckmantest) team" | |
expected: "theckman has been removed from the 'GrapeDuty/HeckmanTest' (heckmantest) team" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:460:in `block (4 levels) in <top (required)>' | |
28) Lita::Handlers::GithubOrg.org_user_rm when the user is the same user should return the gtfo error message | |
Failure/Error: expect(replies.last).to eql "No...\n\nಠ_ಠ" | |
expected: "No...\n\nಠ_ಠ" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
Diff: | |
@@ -1,4 +1,2 @@ | |
-No... | |
- | |
-ಠ_ಠ | |
+Sorry, this function has either been disabled or not enabled in the config | |
# ./spec/unit/lita/handlers/github_org_spec.rb:478:in `block (4 levels) in <top (required)>' | |
29) Lita::Handlers::GithubOrg.org_user_rm when the user is not found should reply with the user not found message | |
Failure/Error: expect(replies.last).to eql 'Unable to find the GitHub user theckman' | |
expected: "Unable to find the GitHub user theckman" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:487:in `block (4 levels) in <top (required)>' | |
30) Lita::Handlers::GithubOrg.org_user_rm when the team is not found should reply with the team not found message | |
Failure/Error: expect(replies.last).to eql 'Unable to match any teams based on: heckmantest' | |
expected: "Unable to match any teams based on: heckmantest" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:496:in `block (4 levels) in <top (required)>' | |
31) Lita::Handlers::GithubOrg.org_user_rm when an error is hit adding the team membership should reply with the *boom* message | |
Failure/Error: expect(replies.last).to eql 'I had a problem :( ... StandardError' | |
expected: "I had a problem :( ... StandardError" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:505:in `block (4 levels) in <top (required)>' | |
32) Lita::Handlers::GithubOrg.org_user_rm when the Octokit method call succeeds, but GitHub fails to remove the user should reply with the failure message | |
Failure/Error: expect(replies.last).to eql "Failed to remove the user from the 'HeckmanTest' team for some unknown reason" | |
expected: "Failed to remove the user from the 'HeckmanTest' team for some unknown reason" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_org_spec.rb:514:in `block (4 levels) in <top (required)>' | |
33) Lita::Handlers::GithubPR.pr_info when PR is not merged should reply with the expeced output | |
Failure/Error: send_command("gh pr info #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:71:in `pr_info' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:459:in `block (4 levels) in <top (required)>' | |
34) Lita::Handlers::GithubPR.pr_info when the PR has been merged should reply with the expeced output | |
Failure/Error: send_command("gh pr info #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:71:in `pr_info' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:487:in `block (4 levels) in <top (required)>' | |
35) Lita::Handlers::GithubPR.pr_info when the PR was not found should reply with the not found error | |
Failure/Error: send_command("gh pr info #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:71:in `pr_info' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:499:in `block (4 levels) in <top (required)>' | |
36) Lita::Handlers::GithubPR.pr_merge when command disabled should no-op and say such | |
Failure/Error: send_command("shipit #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:90:in `pr_merge' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:523:in `block (4 levels) in <top (required)>' | |
37) Lita::Handlers::GithubPR.pr_merge when repo not found should reply indicating it was invalid | |
Failure/Error: send_command("shipit #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:90:in `pr_merge' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:534:in `block (4 levels) in <top (required)>' | |
38) Lita::Handlers::GithubPR.pr_merge when merging should succeed should set the right commit message | |
Failure/Error: send_command('shipit GrapeDuty/lita-test #42') | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:90:in `pr_merge' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:544:in `block (4 levels) in <top (required)>' | |
39) Lita::Handlers::GithubPR.pr_merge when merging should succeed should confirm merging of PR | |
Failure/Error: send_command("shipit #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:90:in `pr_merge' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:548:in `block (4 levels) in <top (required)>' | |
40) Lita::Handlers::GithubPR.pr_merge when merging bombs should confirm the failure | |
Failure/Error: send_command("shipit #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:90:in `pr_merge' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:561:in `block (4 levels) in <top (required)>' | |
41) Lita::Handlers::GithubPR.pr_merge when the API request explodes should confirm the failure | |
Failure/Error: send_command("shipit #{github_org}/#{github_repo} #42") | |
NoMethodError: | |
undefined method `pull_request' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:144:in `pull_request' | |
# ./lib/lita/handlers/github_pr.rb:90:in `pr_merge' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:578:in `block (4 levels) in <top (required)>' | |
42) Lita::Handlers::GithubPR.pr_list when there are no pull requests should state that there are no pull requests | |
Failure/Error: send_command("gh pr list #{github_org}/#{github_repo}") | |
NoMethodError: | |
undefined method `pull_requests' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:116:in `pr_list' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:598:in `block (4 levels) in <top (required)>' | |
43) Lita::Handlers::GithubPR.pr_list when there are less than 20 prs should reply with the PRs | |
Failure/Error: send_command("gh pr list #{github_org}/#{github_repo}") | |
NoMethodError: | |
undefined method `pull_requests' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:116:in `pr_list' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:614:in `block (4 levels) in <top (required)>' | |
44) Lita::Handlers::GithubPR.pr_list when there are more than 20 prs should return the list of ten oldest & ten newest | |
Failure/Error: send_command("gh pr list #{github_org}/#{github_repo}") | |
NoMethodError: | |
undefined method `pull_requests' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_pr.rb:116:in `pr_list' | |
# ./spec/unit/lita/handlers/github_pr_spec.rb:650:in `block (4 levels) in <top (required)>' | |
45) Lita::Handlers::GithubRepo.repo_update_description when valid inputs provided, and all things work out should respond that the description was updated | |
Failure/Error: send_command('gh repo update description lita-test oh hello!') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:242:in `repo_update_description' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:573:in `block (4 levels) in <top (required)>' | |
46) Lita::Handlers::GithubRepo.repo_update_description when function disabled should return the method disabled error | |
Failure/Error: send_command('gh repo update description lita-test A new description!') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:242:in `repo_update_description' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:582:in `block (4 levels) in <top (required)>' | |
47) Lita::Handlers::GithubRepo.repo_update_description when repo not found should return the repo not found error | |
Failure/Error: send_command('gh repo update description lita-test A new description!') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:242:in `repo_update_description' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:591:in `block (4 levels) in <top (required)>' | |
48) Lita::Handlers::GithubRepo.repo_update_description when Octokit call explodes should let us know things went a bit unexpected | |
Failure/Error: send_command('gh repo update description lita-test A new description!') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:242:in `repo_update_description' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:600:in `block (4 levels) in <top (required)>' | |
49) Lita::Handlers::GithubRepo.repo_update_homepage when valid inputs provided, and all things work out should respond that the homepage was updated | |
Failure/Error: send_command('gh repo update homepage lita-test https://test.it') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:261:in `repo_update_homepage' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:623:in `block (4 levels) in <top (required)>' | |
50) Lita::Handlers::GithubRepo.repo_update_homepage when function disabled should return the method disabled error | |
Failure/Error: send_command('gh repo update homepage lita-test https://test.it') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:261:in `repo_update_homepage' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:632:in `block (4 levels) in <top (required)>' | |
51) Lita::Handlers::GithubRepo.repo_update_homepage when repo not found should return the repo not found error | |
Failure/Error: send_command('gh repo update homepage lita-test https://test.it') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:261:in `repo_update_homepage' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:641:in `block (4 levels) in <top (required)>' | |
52) Lita::Handlers::GithubRepo.repo_update_homepage when Octokit call explodes should let us know things went a bit unexpected | |
Failure/Error: send_command('gh repo update homepage lita-test https://test.it') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:261:in `repo_update_homepage' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:650:in `block (4 levels) in <top (required)>' | |
53) Lita::Handlers::GithubRepo.repo_update_homepage when URL is invalid should return the invalid URL error | |
Failure/Error: send_command('gh repo update homepage lita-test https://test. it') | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:261:in `repo_update_homepage' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:668:in `block (4 levels) in <top (required)>' | |
54) Lita::Handlers::GithubRepo.repo_info should return some repo info | |
Failure/Error: send_command('gh repo info GrapeDuty/lita-test') | |
NoMethodError: | |
undefined method `repository' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_repo.rb:155:in `repo_info' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:692:in `block (3 levels) in <top (required)>' | |
55) Lita::Handlers::GithubRepo.repo_delete reply with the return from delete_repo() | |
Failure/Error: expect(replies.last).to eql 'hello there' | |
expected: "hello there" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:709:in `block (3 levels) in <top (required)>' | |
56) Lita::Handlers::GithubRepo.repo_delete when repo not found should no-op informing you that the repo is not there | |
Failure/Error: expect(replies.last).to eql 'That repo (GrapeDuty/lita-test) was not found' | |
expected: "That repo (GrapeDuty/lita-test) was not found" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:730:in `block (4 levels) in <top (required)>' | |
57) Lita::Handlers::GithubRepo.repo_create when command disabled should no-op and say such if the command is disabled | |
Failure/Error: send_command("gh repo create #{github_org}/lita-test") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:122:in `repo_create' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:750:in `block (4 levels) in <top (required)>' | |
58) Lita::Handlers::GithubRepo.repo_create when repo already exists should tell you it already exists | |
Failure/Error: send_command("gh repo create #{github_org}/lita-test") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:122:in `repo_create' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:761:in `block (4 levels) in <top (required)>' | |
59) Lita::Handlers::GithubRepo.repo_create when repo does not exist should reply with the return of create_repo() | |
Failure/Error: send_command("gh repo create #{github_org}/lita-test") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:122:in `repo_create' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:773:in `block (4 levels) in <top (required)>' | |
60) Lita::Handlers::GithubRepo.repo_rename reply with the return from rename_repo() | |
Failure/Error: send_command("gh repo rename #{github_org}/lita-test better-lita-test") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:136:in `repo_rename' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:787:in `block (3 levels) in <top (required)>' | |
61) Lita::Handlers::GithubRepo.repo_rename when command disabled should no-op and say such if the command is disabled | |
Failure/Error: send_command("gh repo rename #{github_org}/lita-test better-lita-test") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:136:in `repo_rename' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:797:in `block (4 levels) in <top (required)>' | |
62) Lita::Handlers::GithubRepo.repo_rename when repo not found should no-op informing you that the repo is not there | |
Failure/Error: send_command("gh repo rename #{github_org}/lita-test better-lita-test") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:136:in `repo_rename' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:808:in `block (4 levels) in <top (required)>' | |
63) Lita::Handlers::GithubRepo.repo_teams_list when it finds a repo should return the list of teams | |
Failure/Error: send_command("gh repo teams #{github_org}/lita-test") | |
NoMethodError: | |
undefined method `repository_teams' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_repo.rb:174:in `repo_teams_list' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:827:in `block (4 levels) in <top (required)>' | |
64) Lita::Handlers::GithubRepo.repo_teams_list when it finds a repo with no teams but the owners should return the fact there are no teams | |
Failure/Error: send_command("gh repo teams #{github_org}/lita-test") | |
NoMethodError: | |
undefined method `repository_teams' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_repo.rb:174:in `repo_teams_list' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:839:in `block (4 levels) in <top (required)>' | |
65) Lita::Handlers::GithubRepo.repo_teams_list when the repo is not valid should say the repo was not found | |
Failure/Error: send_command("gh repo teams #{github_org}/lita-test") | |
NoMethodError: | |
undefined method `repository_teams' for DoubleFixer:Class | |
# ./lib/lita/handlers/github_repo.rb:174:in `repo_teams_list' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:848:in `block (4 levels) in <top (required)>' | |
66) Lita::Handlers::GithubRepo.repo_team_router should call the method based on action and respond with its return | |
Failure/Error: expect(replies.last).to eql 'ohai' | |
expected: "ohai" | |
got: "Sorry, this function has either been disabled or not enabled in the config" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:862:in `block (3 levels) in <top (required)>' | |
67) Lita::Handlers::GithubRepo.repo_update_router should call the method based on the action and respond with its return | |
Failure/Error: send_command("gh repo update description #{github_org}/lita-test Something funky here") | |
NoMethodError: | |
undefined method `repository?' for DoubleFixer:Class | |
# ./lib/lita-github/repo.rb:40:in `repo?' | |
# ./lib/lita/handlers/github_repo.rb:242:in `repo_update_description' | |
# ./lib/lita/handlers/github_repo.rb:197:in `repo_update_router' | |
# ./spec/unit/lita/handlers/github_repo_spec.rb:873:in `block (3 levels) in <top (required)>' | |
68) Lita::Handlers::Github.token_generate when token is set should return the correct totp token | |
Failure/Error: expect(replies.last).to eql t.now | |
expected: "057343" | |
got: "'totp_secret' has not been provided in the config, unable to generate TOTP" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_spec.rb:310:in `block (4 levels) in <top (required)>' | |
69) Lita::Handlers::Github.whois when all goes well should return the response from whois_reply | |
Failure/Error: send_command('gh whois theckman') | |
NoMethodError: | |
undefined method `user' for DoubleFixer:Class | |
# ./lib/lita/handlers/github.rb:123:in `whois' | |
# ./spec/unit/lita/handlers/github_spec.rb:356:in `block (4 levels) in <top (required)>' | |
70) Lita::Handlers::Github.whois when user can not be found should return the response from whois_reply | |
Failure/Error: send_command('gh whois theckman') | |
NoMethodError: | |
undefined method `user' for DoubleFixer:Class | |
# ./lib/lita/handlers/github.rb:123:in `whois' | |
# ./spec/unit/lita/handlers/github_spec.rb:365:in `block (4 levels) in <top (required)>' | |
339/339 |============================= 100 ==============================>| Time: 00:00:00 | |
Finished in 0.54464 seconds (files took 0.69209 seconds to load) | |
339 examples, 70 failures | |
Failed examples: | |
rspec ./spec/unit/lita/handlers/github_issues_spec.rb:106 # Lita::Handlers::GithubIssues.issues_list when all goes well should reply with the list of issues | |
rspec ./spec/unit/lita/handlers/github_issues_spec.rb:119 # Lita::Handlers::GithubIssues.issues_list when there are no issues should return message indicating no issues | |
rspec ./spec/unit/lita/handlers/github_issues_spec.rb:128 # Lita::Handlers::GithubIssues.issues_list when there is an option that fails validation should reply with the response from .validate_list_opts | |
rspec ./spec/unit/lita/handlers/github_issues_spec.rb:137 # Lita::Handlers::GithubIssues.issues_list when the repo is not found should reply with response indicating repo not found | |
rspec ./spec/unit/lita/handlers/github_issues_spec.rb:146 # Lita::Handlers::GithubIssues.issues_list when an option passes validation, but fails from GitHub should reply indicating an issue was hit and include the exception message | |
rspec ./spec/unit/lita/handlers/github_issues_spec.rb:156 # Lita::Handlers::GithubIssues.issues_list when there is a general error when calling GitHub should reply indicating an issue was hit and include the exception message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:143 # Lita::Handlers::GithubOrg.org_teams_list when provided a valid org should return a list of the team sorted, with Owners at the top | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:157 # Lita::Handlers::GithubOrg.org_teams_list when provided an invalid org should return a message indicating it could not find the organization | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:178 # Lita::Handlers::GithubOrg.org_team_add when all goes well should return that the team was created | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:196 # Lita::Handlers::GithubOrg.org_team_add when all the options are missing should respond with an error listing each one | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:205 # Lita::Handlers::GithubOrg.org_team_add when the permission level is not a known one should respond telling you the permission is unknown | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:213 # Lita::Handlers::GithubOrg.org_team_add when the permission is now allowed in the config should respond informing you of the permitted permissions | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:223 # Lita::Handlers::GithubOrg.org_team_add when the organization is not found should reply that the org was not found | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:241 # Lita::Handlers::GithubOrg.org_team_rm when all goes well should return the success message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:259 # Lita::Handlers::GithubOrg.org_team_rm when the team does not exist should respond with the team not found error | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:268 # Lita::Handlers::GithubOrg.org_team_rm when deletion fails should respond with the action failure message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:298 # Lita::Handlers::GithubOrg.org_eject_user when all goes well should reply that the user was ejected | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:316 # Lita::Handlers::GithubOrg.org_eject_user when the user is the same user should return the gtfo error message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:325 # Lita::Handlers::GithubOrg.org_eject_user when the user is not found should reply with the user not found message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:334 # Lita::Handlers::GithubOrg.org_eject_user when the Octokit client call bombs should return the *boom* error | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:343 # Lita::Handlers::GithubOrg.org_eject_user when the action fails should respond with the failure message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:378 # Lita::Handlers::GithubOrg.org_user_add when all goes well should respond with a successful add | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:396 # Lita::Handlers::GithubOrg.org_user_add when the user is the same user should return the gtfo error message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:405 # Lita::Handlers::GithubOrg.org_user_add when the user is not found should reply with the user not found message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:414 # Lita::Handlers::GithubOrg.org_user_add when the team is not found should reply with the team not found message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:423 # Lita::Handlers::GithubOrg.org_user_add when an error is hit adding the team membership should reply with the *boom* message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:458 # Lita::Handlers::GithubOrg.org_user_rm when all goes well should respond with a successful removal | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:476 # Lita::Handlers::GithubOrg.org_user_rm when the user is the same user should return the gtfo error message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:485 # Lita::Handlers::GithubOrg.org_user_rm when the user is not found should reply with the user not found message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:494 # Lita::Handlers::GithubOrg.org_user_rm when the team is not found should reply with the team not found message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:503 # Lita::Handlers::GithubOrg.org_user_rm when an error is hit adding the team membership should reply with the *boom* message | |
rspec ./spec/unit/lita/handlers/github_org_spec.rb:512 # Lita::Handlers::GithubOrg.org_user_rm when the Octokit method call succeeds, but GitHub fails to remove the user should reply with the failure message | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:452 # Lita::Handlers::GithubPR.pr_info when PR is not merged should reply with the expeced output | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:479 # Lita::Handlers::GithubPR.pr_info when the PR has been merged should reply with the expeced output | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:498 # Lita::Handlers::GithubPR.pr_info when the PR was not found should reply with the not found error | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:522 # Lita::Handlers::GithubPR.pr_merge when command disabled should no-op and say such | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:533 # Lita::Handlers::GithubPR.pr_merge when repo not found should reply indicating it was invalid | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:540 # Lita::Handlers::GithubPR.pr_merge when merging should succeed should set the right commit message | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:547 # Lita::Handlers::GithubPR.pr_merge when merging should succeed should confirm merging of PR | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:560 # Lita::Handlers::GithubPR.pr_merge when merging bombs should confirm the failure | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:577 # Lita::Handlers::GithubPR.pr_merge when the API request explodes should confirm the failure | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:597 # Lita::Handlers::GithubPR.pr_list when there are no pull requests should state that there are no pull requests | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:613 # Lita::Handlers::GithubPR.pr_list when there are less than 20 prs should reply with the PRs | |
rspec ./spec/unit/lita/handlers/github_pr_spec.rb:649 # Lita::Handlers::GithubPR.pr_list when there are more than 20 prs should return the list of ten oldest & ten newest | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:572 # Lita::Handlers::GithubRepo.repo_update_description when valid inputs provided, and all things work out should respond that the description was updated | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:581 # Lita::Handlers::GithubRepo.repo_update_description when function disabled should return the method disabled error | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:590 # Lita::Handlers::GithubRepo.repo_update_description when repo not found should return the repo not found error | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:599 # Lita::Handlers::GithubRepo.repo_update_description when Octokit call explodes should let us know things went a bit unexpected | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:622 # Lita::Handlers::GithubRepo.repo_update_homepage when valid inputs provided, and all things work out should respond that the homepage was updated | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:631 # Lita::Handlers::GithubRepo.repo_update_homepage when function disabled should return the method disabled error | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:640 # Lita::Handlers::GithubRepo.repo_update_homepage when repo not found should return the repo not found error | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:649 # Lita::Handlers::GithubRepo.repo_update_homepage when Octokit call explodes should let us know things went a bit unexpected | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:667 # Lita::Handlers::GithubRepo.repo_update_homepage when URL is invalid should return the invalid URL error | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:691 # Lita::Handlers::GithubRepo.repo_info should return some repo info | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:707 # Lita::Handlers::GithubRepo.repo_delete reply with the return from delete_repo() | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:728 # Lita::Handlers::GithubRepo.repo_delete when repo not found should no-op informing you that the repo is not there | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:749 # Lita::Handlers::GithubRepo.repo_create when command disabled should no-op and say such if the command is disabled | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:760 # Lita::Handlers::GithubRepo.repo_create when repo already exists should tell you it already exists | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:771 # Lita::Handlers::GithubRepo.repo_create when repo does not exist should reply with the return of create_repo() | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:786 # Lita::Handlers::GithubRepo.repo_rename reply with the return from rename_repo() | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:796 # Lita::Handlers::GithubRepo.repo_rename when command disabled should no-op and say such if the command is disabled | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:807 # Lita::Handlers::GithubRepo.repo_rename when repo not found should no-op informing you that the repo is not there | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:825 # Lita::Handlers::GithubRepo.repo_teams_list when it finds a repo should return the list of teams | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:838 # Lita::Handlers::GithubRepo.repo_teams_list when it finds a repo with no teams but the owners should return the fact there are no teams | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:847 # Lita::Handlers::GithubRepo.repo_teams_list when the repo is not valid should say the repo was not found | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:859 # Lita::Handlers::GithubRepo.repo_team_router should call the method based on action and respond with its return | |
rspec ./spec/unit/lita/handlers/github_repo_spec.rb:871 # Lita::Handlers::GithubRepo.repo_update_router should call the method based on the action and respond with its return | |
rspec ./spec/unit/lita/handlers/github_spec.rb:307 # Lita::Handlers::Github.token_generate when token is set should return the correct totp token | |
rspec ./spec/unit/lita/handlers/github_spec.rb:352 # Lita::Handlers::Github.whois when all goes well should return the response from whois_reply | |
rspec ./spec/unit/lita/handlers/github_spec.rb:364 # Lita::Handlers::Github.whois when user can not be found should return the response from whois_reply | |
tristan@15th:~/Code/lita-dev/workspace/lita-github$ bundle exec rspec spec/unit/lita/handlers/github_spec.rb | |
1) Lita::Handlers::Github.token_generate when token is set should return the correct totp token | |
Failure/Error: expect(replies.last).to eql t.now | |
expected: "057343" | |
got: "'totp_secret' has not been provided in the config, unable to generate TOTP" | |
(compared using eql?) | |
# ./spec/unit/lita/handlers/github_spec.rb:310:in `block (4 levels) in <top (required)>' | |
2) Lita::Handlers::Github.whois when all goes well should return the response from whois_reply | |
Failure/Error: expect(replies.last).to eql 'StubbedResponse' | |
expected: "StubbedResponse" | |
got: "theckman (Tim Heckman) :: https://github.com/theckman\nLocated: San Francisco, CA\nCompany: PagerDuty\nOrgs: PagerDuty\nID: 787332\nGitHub Admin: false, Repos: 71, Gists: 3\nFollowing: 16, Followers: 28, Joined: 2011-05-14 04:16:33 UTC" | |
(compared using eql?) | |
Diff: | |
@@ -1,2 +1,8 @@ | |
-StubbedResponse | |
+theckman (Tim Heckman) :: https://github.com/theckman | |
+Located: San Francisco, CA | |
+Company: PagerDuty | |
+Orgs: PagerDuty | |
+ID: 787332 | |
+GitHub Admin: false, Repos: 71, Gists: 3 | |
+Following: 16, Followers: 28, Joined: 2011-05-14 04:16:33 UTC | |
# ./spec/unit/lita/handlers/github_spec.rb:357:in `block (4 levels) in <top (required)>' | |
3) Lita::Handlers::Github.whois when user can not be found should return the response from whois_reply | |
Failure/Error: send_command('gh whois theckman') | |
Octokit::TooManyRequests: | |
GET https://api.github.com/users/theckman: 403 - API rate limit exceeded for 73.158.94.75. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) // See: https://developer.github.com/v3/#rate-limiting | |
# ./lib/lita/handlers/github.rb:123:in `whois' | |
# ./spec/unit/lita/handlers/github_spec.rb:365:in `block (4 levels) in <top (required)>' | |
38/38 |============================== 100 ===============================>| Time: 00:00:01 | |
Finished in 1.32 seconds (files took 0.26988 seconds to load) | |
38 examples, 3 failures | |
Failed examples: | |
rspec ./spec/unit/lita/handlers/github_spec.rb:307 # Lita::Handlers::Github.token_generate when token is set should return the correct totp token | |
rspec ./spec/unit/lita/handlers/github_spec.rb:352 # Lita::Handlers::Github.whois when all goes well should return the response from whois_reply | |
rspec ./spec/unit/lita/handlers/github_spec.rb:364 # Lita::Handlers::Github.whois when user can not be found should return the response from whois_reply | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment