GeneratorTagsSpec: change name of a test
This commit is contained in:
parent
8769ced74e
commit
da0024cbdf
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user