GeneratorTagsSpec: change name of a test

This commit is contained in:
Olle Jonsson 2016-07-02 16:33:00 +02:00
parent 8769ced74e
commit da0024cbdf

View File

@ -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