Sha256: 599a44d644bb14403c5884ab2d45015bf56aa08262dcd91615c73734a4e2cf4b

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

require_relative 'test_helper'

describe 'ping should work unauthenticated' do
  it 'should return PONG' do
    get '/ping'
    expect(last_response.status).to eq(200)
    expect(last_response.body).to eq('PONG')
  end
end

describe 'unauthenticated' do
  it 'should return 401 error' do
    get '/'
    expect(last_response.status).to eq(401)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gaptool-server-0.8.5 test/base_test.rb
gaptool-server-0.8.4 test/base_test.rb
gaptool-server-0.8.3 test/base_test.rb
gaptool-server-0.8.2 test/base_test.rb
gaptool-server-0.8.1 test/base_test.rb
gaptool-server-0.8.0 test/base_test.rb