From 9a217e34686a6c0f6ed3b22bba8fa7f0fe67b65d Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Wed, 24 Feb 2016 16:20:21 +0200 Subject: [PATCH] rubocop correction --- spec/unit/generator/generator_processor_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/generator/generator_processor_spec.rb b/spec/unit/generator/generator_processor_spec.rb index be08d78..71f37c4 100644 --- a/spec/unit/generator/generator_processor_spec.rb +++ b/spec/unit/generator/generator_processor_spec.rb @@ -3,10 +3,10 @@ module GitHubChangelogGenerator context "#exclude_issues_by_labels" do let(:label) { double("the-bad-label", name: "BAD") } let(:issue) { double("the-issue-to-be-excluded", labels: [label]) } - 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(: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 result = generator.exclude_issues_by_labels(issues)