GeneratorTagsSpec: change name of a test

This commit is contained in:
Olle Jonsson 2016-07-02 16:33:00 +02:00
parent f98cc8f292
commit 4b50b5b257

View File

@ -64,10 +64,11 @@ describe GitHubChangelogGenerator::Generator do
generator.get_filtered_tags(tags_from_strings(%w(1 2 3 4 5))) generator.get_filtered_tags(tags_from_strings(%w(1 2 3 4 5)))
end end
context "with excluded and between tags" do context "respects between tags" do
let(:generator) { GitHubChangelogGenerator::Generator.new(between_tags: %w(1 2 3), exclude_tags: %w(2)) } let(:generator) { GitHubChangelogGenerator::Generator.new(between_tags: %w(1 2 3)) }
it { is_expected.to be_a Array } 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
end end