Commit c9f1fb57 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove upgrader test because it does not apply to ee tags set

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f34e8a26
...@@ -16,11 +16,6 @@ describe Gitlab::Upgrader do ...@@ -16,11 +16,6 @@ describe Gitlab::Upgrader do
end end
describe 'latest_version_raw' do describe 'latest_version_raw' do
it 'should be latest version for GitLab 5' do
upgrader.stub(current_version_raw: "7.11.0-ee")
expect(upgrader.latest_version_raw).to match(/v7\.\d\.\d-ee/)
end
it 'should get the latest version from tags' do it 'should get the latest version from tags' do
allow(upgrader).to receive(:fetch_git_tags).and_return([ allow(upgrader).to receive(:fetch_git_tags).and_return([
'6f0733310546402c15d3ae6128a95052f6c8ea96 refs/tags/v7.1.1-ee', '6f0733310546402c15d3ae6128a95052f6c8ea96 refs/tags/v7.1.1-ee',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment