Sha256: b780570b2da61334c68be09c626d710d8b3771afd2b0eb8e722499c403dd3531
Contents?: true
Size: 435 Bytes
Versions: 7
Compression:
Stored size: 435 Bytes
Contents
require_relative './spec_helper' describe "Authentication" do describe "whoami" do context "when user is unauthenticated" do it_behaves_like "Unauthenticated", -> (api) { api.whoami } end context "when auth success" do specify do api = _api(login: user1["login"], application_token: user1["rw_token"]) expect(api.whoami).to eq(user1["login"]) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems