require 'serverspec_helper'

describe 'nexus::tasks' do
  describe command('curl -uadmin:admin123 http://localhost:8081/service/siesta/rest/v1/script/get_task/run -X POST ' \
                   '-H "Content-Type: text/plain" -d foo') do
    its(:exit_status) { should eq 0 }
    its(:stdout) { should match(/result.*name.*foo/) }
  end
end

require 'serverspec_helper'

describe 'nexus::tasks' do
  describe command('curl -uadmin:admin123 http://localhost:8081/service/rest/v1/script/get_task/run -X POST ' \
                   '-H "Content-Type: text/plain" -d foo') do
    its(:exit_status) { should eq 0 }
    its(:stdout) { should match(/result.*name.*foo/) }
  end
end

Make nexus3_tasks integration tests compatible with 3.8.0
Make nexus3_tasks integration tests compatible with 3.8.0
