Updates the version pattern to allow letters in the format - Ref #745
This commit is contained in:
@@ -47,6 +47,13 @@ shared_examples 'WpItem::Versionable' do
|
||||
@expected = '141007'
|
||||
end
|
||||
end
|
||||
|
||||
context 'when version contains letters' do
|
||||
it 'returns it' do
|
||||
@file = '/beta1.txt'
|
||||
@expected = '2.0.0-beta1'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user