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