mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-14 08:50:44 +00:00
Added contributor flag to api spec
This commit is contained in:
parent
db9d4c1564
commit
8dce3c8d6b
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ describe Api::V1::UsersController do
|
||||||
expect(json["referee"]).to eq(user.ref?)
|
expect(json["referee"]).to eq(user.ref?)
|
||||||
expect(json["caster"]).to eq(user.caster?)
|
expect(json["caster"]).to eq(user.caster?)
|
||||||
expect(json["moderator"]).to eq(user.gather_moderator?)
|
expect(json["moderator"]).to eq(user.gather_moderator?)
|
||||||
|
expect(json["contributor"]).to eq(user.contributor?)
|
||||||
expect(json).to have_key("steam")
|
expect(json).to have_key("steam")
|
||||||
expect(json["steam"]).to have_key("id")
|
expect(json["steam"]).to have_key("id")
|
||||||
expect(json["steam"]).to have_key("url")
|
expect(json["steam"]).to have_key("url")
|
||||||
|
|
Loading…
Reference in a new issue