-
-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linting updates, spec fixes #680
Linting updates, spec fixes #680
Conversation
expect(entry_sections.size).to eq 8 | ||
it "returns 9 sections" do | ||
entry_sections.each { |sec| pp(sec.name) } | ||
expect(entry_sections.size).to eq 9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you tell when this test began failing?
Has the behavior changed, like "there's a new expected Section"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! And you did!
expect(entry_sections.size).to eq 8 | ||
it "returns 9 sections" do | ||
entry_sections.each { |sec| pp(sec.name) } | ||
expect(entry_sections.size).to eq 9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! And you did!
it "returns 8 sections" do | ||
expect(entry_sections.size).to eq 8 | ||
it "returns 9 sections" do | ||
entry_sections.each { |sec| pp(sec.name) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, line 542 & line 727 are debug code...
entry_sections.each { |sec| pp(sec.name) }
is unnecessary.
This PR fixes to make Rake task succeed.
Refactor for rubocop:
Fix for spec:
octo_fetcher.fetch_commit
is String(Remove threading and use caching #653).