rubocop correction

This commit is contained in:
Petr Korolev 2016-02-24 16:20:21 +02:00
parent 035e160f5e
commit 9a217e3468

View File

@ -6,7 +6,7 @@ module GitHubChangelogGenerator
let(:good_label) { double("a-good-label", name: "GOOD") } let(:good_label) { double("a-good-label", name: "GOOD") }
let(:good_issue) { double("an-issue-to-be-kept", labels: [good_label]) } let(:good_issue) { double("an-issue-to-be-kept", labels: [good_label]) }
let(:issues) { [issue, good_issue] } let(:issues) { [issue, good_issue] }
subject(:generator) { described_class.new(exclude_labels: %w(BAD BOO))} subject(:generator) { described_class.new(exclude_labels: %w(BAD BOO)) }
it "removes issues with labels in the exclude_label list" do it "removes issues with labels in the exclude_label list" do
result = generator.exclude_issues_by_labels(issues) result = generator.exclude_issues_by_labels(issues)