Sha256: 9dbae24dc7e07800b81136813bc9bed5f26ce679c70ed28b39627ca045011c5f

Contents?: true

Size: 354 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
gaptool-server-0.7.4 test/base_test.rb
gaptool-server-0.7.3 test/base_test.rb
gaptool-server-0.7.1 test/base_test.rb
gaptool-server-0.7.0 test/base_test.rb
gaptool-server-0.6.6 test/base_test.rb
gaptool-server-0.6.4 test/base_test.rb
gaptool-server-0.6.3 test/base_test.rb
gaptool-server-0.6.0 test/base_test.rb
gaptool-server-0.6.0.beta1 test/base_test.rb