Move all shared tests into the shared test helper
This commit is contained in:
parent
9673fe4679
commit
c325ff79fa
25 changed files with 205 additions and 611 deletions
|
|
@ -1,12 +1,4 @@
|
|||
require 'spec_helper'
|
||||
|
||||
shared_examples 'oss_to_xpack_upgrade::init' do |vars|
|
||||
describe 'version check' do
|
||||
it 'should be reported as version '+vars['es_version'] do
|
||||
expect(curl_json('http://localhost:9200', username='elastic', password='changeme')['version']['number']).to eq(vars['es_version'])
|
||||
end
|
||||
it 'should be be running the standard (xpack) version' do
|
||||
expect(curl_json('http://localhost:9200/_xpack', username='elastic', password='changeme')['tagline']).to eq('You know, for X')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue