require 'spec_helper'

describe 'GET /status' do
  it 'returns a 200' do
    get 'status'

    expect(response.status.to_i).to eql(200)
  end

  it 'returns a status ok' do
    get 'status'

    expect(json_body).to include('status' => 'ok')
  end
end

require 'spec_helper'

describe 'GET /status' do
  it 'returns a 200' do
    get '/status'

    expect(response.status.to_i).to eql(200)
  end

  it 'returns a status ok' do
    get '/status'

    expect(json_body).to include('status' => 'ok')
  end
end

Include a slash in the request specs for the status endpoint.
Include a slash in the request specs for the status endpoint.

Signed-off-by: Robb Kidd <11cd4f9ba93acb67080ee4dad8d03929f9e64bf2@chef.io>
