From da0024cbdf4291cac23cb50ec044910bb992bfcf Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sat, 2 Jul 2016 16:33:00 +0200 Subject: [PATCH] GeneratorTagsSpec: change name of a test --- spec/unit/generator/generator_tags_spec.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/unit/generator/generator_tags_spec.rb b/spec/unit/generator/generator_tags_spec.rb index dee058e..d13fb34 100644 --- a/spec/unit/generator/generator_tags_spec.rb +++ b/spec/unit/generator/generator_tags_spec.rb @@ -64,10 +64,11 @@ describe GitHubChangelogGenerator::Generator do generator.get_filtered_tags(tags_from_strings(%w(1 2 3 4 5))) end - context "with excluded and between tags" do - let(:generator) { GitHubChangelogGenerator::Generator.new(between_tags: %w(1 2 3), exclude_tags: %w(2)) } + context "respects between tags" do + let(:generator) { GitHubChangelogGenerator::Generator.new(between_tags: %w(1 2 3)) } + it { is_expected.to be_a Array } - it { is_expected.to match_array(tags_from_strings(%w(1 3))) } + it { is_expected.to match_array(tags_from_strings(%w(1 2 3))) } end end