Last active
June 1, 2016 18:47
-
-
Save justMaku/fa813c5b879efa26803188843c35cbf9 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
Danger::CISource::Buildkite | |
validates when buildkite env var is found | |
doesnt validate when buildkite is not found | |
gets out a repo slug from a git+ssh repo and pull request number | |
gets out a repo slug from a https repo and pull request number | |
Danger::CircleAPI | |
has a nil token as default | |
sets the token on initialize | |
creates a client with the correct base url | |
fetches the build info without token | |
fetches the build info with token | |
Danger::CISource::CircleCI | |
validates when circle env var is found and it has a real PR url | |
validates when circle env var is found and it has a bad PR url | |
validates when circle env var is found and it has no PR url | |
doesnt get a PR id when it has a bad PR url | |
doesnt validate when circle ci is not found | |
gets out a repo slug and pull request number | |
gets out a repo slug, pull request number and commit refs when PR url is not found | |
uses Circle CI API token if available | |
Danger::CISource::Drone | |
validates when DRONE variable is set | |
does not validate when DRONE is not set | |
gets the pull request ID | |
gets the repo address | |
gets out a repo slug and pull request number | |
Danger::GitRepo | |
Return Types | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
#modified_files returns a FileList object | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
#added_files returns a FileList object | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
#deleted_files returns a FileList object | |
with files | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
handles adding a new file to a git repo | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
handles file deletions as expected | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
handles modified as expected | |
lines of code | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
handles code insertions as expected | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
handles code deletions as expected | |
#commits | |
Switched to a new branch 'new' | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
returns the commits | |
Danger::RequestSources::GitHub | |
the github host | |
sets a default GitHub host | |
allows the GitHub host to be overridden | |
allows the GitHub API host to be overridden | |
valid server response | |
sets its pr_json | |
sets its issue_json | |
sets the ignored violations | |
DSL Attributes | |
sets the right commit sha (PENDING: Temporarily skipped with xdescribe) | |
sets the right labels (PENDING: Temporarily skipped with xdescribe) | |
#generate_comment | |
no warnings, no errors, no messages | |
supports markdown code below the summary table | |
supports markdown only without a table | |
some warnings, no errors | |
some warnings with markdown, no errors | |
some warnings, some errors | |
crosses resolved violations and changes the title | |
uncrosses violations that were on the list and happened again | |
counts only unresolved violations on the title | |
needs to include generated_by_danger | |
sets data-sticky to true when a violation is sticky | |
sets data-sticky to false when a violation is not sticky | |
status message | |
Shows a success message when no errors/warnings | |
Shows an error messages when there are errors | |
Shows an error message when errors and warnings | |
Deals with singualars in messages when errors and warnings | |
issue creation | |
⚠ 1 Warning. Don't worry, everything is fixable. | |
creates an issue if no danger comments exist | |
⚠ 1 Warning. Don't worry, everything is fixable. | |
updates the issue if no danger comments exist | |
All green. Nice work. | |
deletes existing issues danger doesnt need to say anything | |
All green. Congrats. | |
updates the issue if danger doesnt need to say anything but there are sticky violations | |
comment parsing | |
detects the warning kind | |
detects the error kind | |
detects the warning kind | |
parses a comment with error | |
parses a comment with error and warnings | |
ignores non-sticky violations when parsing a comment | |
parses a comment with error and warnings removing strike tag | |
Danger::CISource::Jenkins | |
validates when jenkins env var is found | |
doesnt validate when jenkins is not found | |
gets out a repo slug from a git+ssh repo and pull request number | |
gets out a repo slug from a https repo and pull request number | |
Danger::CISource::LocalGitRepo | |
validates when run by danger local | |
doesnt validate when the local git flag is missing | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
Danger local requires a repository hosted on GitHub.com or GitHub Enterprise. | |
gets the pull request ID | |
github repos | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
gets the repo address when it uses https | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
gets the repo address when it uses git@ | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
gets the repo address when it contains .git | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
gets the repo address when it starts with git:// | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
gets the repo address when it starts with git://git@ | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
Danger local requires a repository hosted on GitHub.com or GitHub Enterprise. | |
does not set a repo_slug if the repo has a non-gh remote | |
enterprise github repos | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
does set a repo_slug if provided with a github_host | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
Danger local requires a repository hosted on GitHub.com or GitHub Enterprise. | |
does not set a repo_slug if provided with a github_host that is different from the remote | |
Support looking for a specific PR | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
Switched to a new branch 'new-branch2' | |
Switched to branch 'master' | |
Danger local requires a repository hosted on GitHub.com or GitHub Enterprise. | |
handles finding the resulting PR | |
Switched to a new branch 'new-branch' | |
Switched to branch 'master' | |
Switched to a new branch 'new-branch2' | |
Switched to branch 'master' | |
Danger local requires a repository hosted on GitHub.com or GitHub Enterprise. | |
handles not finding the resulting PR | |
Danger::CISource::Travis | |
validates when Josh K says so | |
doesnt validate when Josh K aint around | |
gets the pull request ID | |
gets the repo address | |
gets out a repo slug and pull request number | |
Danger::CISource::XcodeServer | |
validates when Xcode Server has XCS_BOT_NAME env var | |
doesnt validate when Xcode Server does not have XCS_BOT_NAME env var | |
gets out a repo slug and a pull request number from a bot name | |
Danger::Runner | |
runtime errors when no Dangerfile found | |
gets through the whole command (FAILED - 1) | |
has the correct version | |
Danger::FileList | |
#include? | |
supports exact matches | |
supports * for wildcards | |
supports ? for single chars | |
returns false if nothing was found | |
String | |
#danger_class | |
converts properly | |
#danger_pluralize | |
returns '0 errors' when count = 0 | |
returns '1 error' when count = 1 | |
returns '2 errors' when count = 2 | |
#danger_underscore | |
converts properly | |
Danger | |
has a version number | |
Danger::Dangerfile | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
keeps track of the original Dangerfile | |
Danger::DangerfileImportPlugin | |
Danger::DangerfileMessagingPlugin | |
Danger::DangerfileGitHubPlugin | |
Danger::DangerfileGitPlugin | |
Danger::Files | |
runs the ruby code inside the Dangerfile | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
raises elegantly with bad ruby code inside the Dangerfile (FAILED - 2) | |
respects ignored violations (FAILED - 3) | |
#print_results | |
Prints out 3 tables (FAILED - 4) | |
verbose | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
outputs metadata when verbose (FAILED - 5) | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
does not print metadata by default (FAILED - 6) | |
initializing plugins | |
DangerTestPlugin | |
DangerTestPlugin | |
should add a plugin to the @plugins array | |
DangerTestPlugin | |
DangerTestPlugin | |
should add an instance variable to the dangerfile | |
printing verbose metadata | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
exposes core attributes (FAILED - 7) | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
exposes no external attributes by default (FAILED - 8) | |
DangerCustomAttributePlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
exposes plugin external attributes by default (FAILED - 9) | |
DangerCustomAttributePlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
creates a table from a selection of core DSL attributes info (FAILED - 10) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
creates a table from a selection of external plugins DSL attributes info (FAILED - 11) | |
Danger::EnvironmentManager | |
raises without enough info in the ENV | |
stores travis in the source | |
stores circle in the source | |
creates a GitHub attr | |
skips push runs and only runs for pull requests | |
Danger::Dangerfile::DSL | |
#import | |
#import_local | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
supports exact paths (FAILED - 12) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
supports file globbing (FAILED - 13) | |
raises an error when calling a plugin that's not a subclass of Plugin (PENDING: Temporarily skipped with xit) | |
#import_url | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
downloads a remote .rb file (FAILED - 14) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
rejects unencrypted plugins (FAILED - 15) | |
Danger::Plugin | |
creates an instance name based on the class name | |
should forward unknown method calls to the dangerfile | |
Danger::DangerfileGitPlugin | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
fails init if the dangerfile's request source is not a GitRepo (FAILED - 16) | |
dsl | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets added_files (FAILED - 17) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets deleted_files (FAILED - 18) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets modified_files (FAILED - 19) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets lines_of_code (FAILED - 20) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets deletions (FAILED - 21) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets insertions (FAILED - 22) | |
DangerCustomAttributePlugin | |
DangerCustomAttributeTwoPlugin | |
#<Class:#<Danger::DangerfileMessagingPlugin:0x007fd2750215a8>> | |
gets commits (FAILED - 23) | |
Pending: (Failures listed here are expected and do not affect your suite's status) | |
1) Danger::RequestSources::GitHub valid server response DSL Attributes sets the right commit sha | |
# Temporarily skipped with xdescribe | |
# ./spec/lib/danger/ci_sources/github_spec.rb:60 | |
2) Danger::RequestSources::GitHub valid server response DSL Attributes sets the right labels | |
# Temporarily skipped with xdescribe | |
# ./spec/lib/danger/ci_sources/github_spec.rb:68 | |
3) Danger::Dangerfile::DSL#import #import_local raises an error when calling a plugin that's not a subclass of Plugin | |
# Temporarily skipped with xit | |
# ./spec/lib/danger/import_spec.rb:28 | |
Failures: | |
1) Danger::Runner gets through the whole command | |
Failure/Error: exec "remote show origin -n | grep \"Fetch URL\" | cut -d ':' -f 2-" | |
#<Danger::GitRepo:0x007fd27508afa8> received :exec with unexpected arguments | |
expected: ("branch -D danger_base") | |
got: ("remote show origin -n | grep \"Fetch URL\" | cut -d ':' -f 2-") | |
Please stub a default value first if message might be received with other args as well. | |
# ./lib/danger/scm_source/git_repo.rb:20:in `origins' | |
# ./lib/danger/request_source/request_source.rb:13:in `validates?' | |
# ./lib/danger/danger_core/environment_manager.rb:31:in `block in initialize' | |
# ./lib/danger/danger_core/environment_manager.rb:25:in `each' | |
# ./lib/danger/danger_core/environment_manager.rb:25:in `initialize' | |
# ./lib/danger/commands/runner.rb:35:in `new' | |
# ./lib/danger/commands/runner.rb:35:in `run' | |
# /Users/maku/.rvm/gems/ruby-2.3.0/gems/claide-1.0.0/lib/claide/command.rb:334:in `run' | |
# ./spec/lib/danger/commands/runner_spec.rb:66:in `block (4 levels) in <module:Command>' | |
# ./spec/lib/danger/commands/runner_spec.rb:62:in `chdir' | |
# ./spec/lib/danger/commands/runner_spec.rb:62:in `block (3 levels) in <module:Command>' | |
# ./spec/lib/danger/commands/runner_spec.rb:61:in `block (2 levels) in <module:Command>' | |
2) Danger::Dangerfile raises elegantly with bad ruby code inside the Dangerfile | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:26:in `block (2 levels) in <top (required)>' | |
3) Danger::Dangerfile respects ignored violations | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:42:in `block (2 levels) in <top (required)>' | |
4) Danger::Dangerfile#print_results Prints out 3 tables | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:62:in `block (3 levels) in <top (required)>' | |
5) Danger::Dangerfile verbose outputs metadata when verbose | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:86:in `block (3 levels) in <top (required)>' | |
6) Danger::Dangerfile verbose does not print metadata by default | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:95:in `block (3 levels) in <top (required)>' | |
7) Danger::Dangerfile printing verbose metadata exposes core attributes | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:127:in `block (3 levels) in <top (required)>' | |
8) Danger::Dangerfile printing verbose metadata exposes no external attributes by default | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:161:in `block (3 levels) in <top (required)>' | |
9) Danger::Dangerfile printing verbose metadata exposes plugin external attributes by default | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:171:in `block (3 levels) in <top (required)>' | |
10) Danger::Dangerfile printing verbose metadata creates a table from a selection of core DSL attributes info | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:187:in `block (3 levels) in <top (required)>' | |
11) Danger::Dangerfile printing verbose metadata creates a table from a selection of external plugins DSL attributes info | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/danger_core/dangerfile_spec.rb:234:in `block (3 levels) in <top (required)>' | |
12) Danger::Dangerfile::DSL#import #import_local supports exact paths | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/lib/danger/import_spec.rb:8:in `new' | |
# ./spec/lib/danger/import_spec.rb:8:in `block (3 levels) in <top (required)>' | |
13) Danger::Dangerfile::DSL#import #import_local supports file globbing | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/lib/danger/import_spec.rb:8:in `new' | |
# ./spec/lib/danger/import_spec.rb:8:in `block (3 levels) in <top (required)>' | |
14) Danger::Dangerfile::DSL#import #import_url downloads a remote .rb file | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/lib/danger/import_spec.rb:8:in `new' | |
# ./spec/lib/danger/import_spec.rb:8:in `block (3 levels) in <top (required)>' | |
15) Danger::Dangerfile::DSL#import #import_url rejects unencrypted plugins | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/lib/danger/import_spec.rb:8:in `new' | |
# ./spec/lib/danger/import_spec.rb:8:in `block (3 levels) in <top (required)>' | |
16) Danger::DangerfileGitPlugin fails init if the dangerfile's request source is not a GitRepo | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:6:in `block (2 levels) in <module:Danger>' | |
17) Danger::DangerfileGitPlugin dsl gets added_files | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
18) Danger::DangerfileGitPlugin dsl gets deleted_files | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
19) Danger::DangerfileGitPlugin dsl gets modified_files | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
20) Danger::DangerfileGitPlugin dsl gets lines_of_code | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
21) Danger::DangerfileGitPlugin dsl gets deletions | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
22) Danger::DangerfileGitPlugin dsl gets insertions | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
23) Danger::DangerfileGitPlugin dsl gets commits | |
Failure/Error: plugin = klass.new(self) | |
TypeError: | |
can't create instance of singleton class | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `new' | |
# ./lib/danger/danger_core/dangerfile.rb:88:in `block in refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `map' | |
# ./lib/danger/danger_core/dangerfile.rb:86:in `refresh_plugins' | |
# ./lib/danger/danger_core/dangerfile.rb:79:in `initialize' | |
# ./spec/spec_helper.rb:30:in `new' | |
# ./spec/spec_helper.rb:30:in `testing_dangerfile' | |
# ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:13:in `block (3 levels) in <module:Danger>' | |
Finished in 2.48 seconds (files took 0.258 seconds to load) | |
138 examples, 23 failures, 3 pending | |
Failed examples: | |
rspec ./spec/lib/danger/commands/runner_spec.rb:45 # Danger::Runner gets through the whole command | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:24 # Danger::Dangerfile raises elegantly with bad ruby code inside the Dangerfile | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:33 # Danger::Dangerfile respects ignored violations | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:54 # Danger::Dangerfile#print_results Prints out 3 tables | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:84 # Danger::Dangerfile verbose outputs metadata when verbose | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:93 # Danger::Dangerfile verbose does not print metadata by default | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:126 # Danger::Dangerfile printing verbose metadata exposes core attributes | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:160 # Danger::Dangerfile printing verbose metadata exposes no external attributes by default | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:166 # Danger::Dangerfile printing verbose metadata exposes plugin external attributes by default | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:186 # Danger::Dangerfile printing verbose metadata creates a table from a selection of core DSL attributes info | |
rspec ./spec/lib/danger/danger_core/dangerfile_spec.rb:227 # Danger::Dangerfile printing verbose metadata creates a table from a selection of external plugins DSL attributes info | |
rspec ./spec/lib/danger/import_spec.rb:13 # Danger::Dangerfile::DSL#import #import_local supports exact paths | |
rspec ./spec/lib/danger/import_spec.rb:20 # Danger::Dangerfile::DSL#import #import_local supports file globbing | |
rspec ./spec/lib/danger/import_spec.rb:38 # Danger::Dangerfile::DSL#import #import_url downloads a remote .rb file | |
rspec ./spec/lib/danger/import_spec.rb:50 # Danger::Dangerfile::DSL#import #import_url rejects unencrypted plugins | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:5 # Danger::DangerfileGitPlugin fails init if the dangerfile's request source is not a GitRepo | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:18 # Danger::DangerfileGitPlugin dsl gets added_files | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:25 # Danger::DangerfileGitPlugin dsl gets deleted_files | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:32 # Danger::DangerfileGitPlugin dsl gets modified_files | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:40 # Danger::DangerfileGitPlugin dsl gets lines_of_code | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:47 # Danger::DangerfileGitPlugin dsl gets deletions | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:54 # Danger::DangerfileGitPlugin dsl gets insertions | |
rspec ./spec/lib/danger/plugins/dangerfile_git_plugin_spec.rb:61 # Danger::DangerfileGitPlugin dsl gets commits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment