test(tags): No deprecation for tags in 3.1.3
This commit is contained in:
parent
5b5678e8cc
commit
635994dc5d
@ -162,6 +162,20 @@ describe(AlgoliaSearchRecordExtractor) do
|
||||
end
|
||||
|
||||
describe 'tags' do
|
||||
if restrict_jekyll_version(more_than: '3.0')
|
||||
it 'should not throw a deprecation warning' do
|
||||
# Given
|
||||
input = fixture_post
|
||||
|
||||
# When
|
||||
input.tags
|
||||
|
||||
# Then
|
||||
expect(Jekyll.logger)
|
||||
.to_not have_received(:warn).with('Deprecation:', any_args)
|
||||
end
|
||||
end
|
||||
|
||||
it 'should get tags from page' do
|
||||
# Given
|
||||
input = fixture_page
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user