RSpec Code Examples

 

 

Auth::App
POST /auth/v1/login
should generate and return the p4 ticket0.02796s
Auth::Middleware
should allow for valid ticket authentication0.00656s
should return a 403 for invalid ticket authentication0.00673s
Config services
GET /config/v1/services
will default to an empty list if the system config file is missing0.01269s
will return the contents of the SERVICE_CONFIGURATION config file0.01600s
HelixSync changes
GET /helix_sync/v1/changes/:project_id/pending
HVE projects
can fetch the latest change for the project0.02202s
POST /helix_sync/v1/changes/:project_id
HVE projects
can create a pending changelist for the project0.03833s
GET /helix_sync/v1/changes/:project_id/pending
HVE projects
can fetches the pending changelist for a project0.02257s
POST /helix_sync/v1/changes/:project_id/pending
HVE projects
can submit the pending changelist for a project with shelved files0.07564s
HelixSync clients
POST /helix_sync/v1/clients
no implementation
returns a 4040.03184s
HVE projects
can create a project0.02484s
HelixVersioningEngine branches
POST /helix_versioning_engine/v78/branches
can create a test branch0.01289s
GET /helix_versioning_engine/v78/branches
can find the new branch in an array of branches0.01424s
PATCH /helix_versioning_engine/v78/branches/[branch]
can update the branch description0.01381s
GET /helix_versioning_engine/v78/branches/[branch]
can load the new branch with a View0.01381s
DELETE /helix_versioning_engine/v78/branches/[branch]
can delete the branch0.01926s
HelixVersioningEngine changes
GET /helix_versioning_engine/v78/changes
should list change 10.01588s
can limit the test results to 1 with the max parameter0.00815s
can limit the change results by user0.01008s
can limit the change results by status0.01277s
can limit the change results by a files query0.01103s
POST /helix_versioning_engine/v78/changes
can branch files0.04720s
can add files0.03937s
GET /helix_versioning_engine/v78/changes/[change]
can describe file lists in submitted changes0.01831s
POST /helix_versioning_engine/v78/changes/[change]
can submit a changelist with shelved changes on a normal client0.06406s
can submit a changelist with shelved changes on a normal client0.06283s
HelixVersioningEngine clients
POST /helix_versioning_engine/v78/clients
can create a test client0.01547s
GET /helix_versioning_engine/v78/clients
can find the new client in an array of clients0.01189s
PATCH /helix_versioning_engine/v78/clients/[client]
can update the client description0.01308s
GET /helix_versioning_engine/v78/clients/[client]
can load the new client with a View0.01021s
DELETE /helix_versioning_engine/v78/clients/[client]
can delete the client0.02254s
HelixVersioningEngine commands
GET /helix_versioning_engine/v78/commands/:command
should return a 403 for commands that are not whitelisted0.01567s
should return a 403 for commands that are missing required args0.01156s
should allow you to run a whitelisted command, specified via a string0.01221s
should allow you to run a whitelisted command if you specify a required argument via an array0.01653s
POST /helix_versioning_engine/v78/commands/:command
should return a 403 for commands that are not whitelisted0.01061s
HelixVersioningEngine counters
PUT /helix_versioning_engine/v78/counters/[counter]
can create a numerical counter0.01651s
can create a text counter0.01333s
GET /helix_versioning_engine/v78/counters
can include our test counters in the list0.01456s
GET /helix_versioning_engine/v78/counters/[counter]
can list our numerical counter0.01149s
can list the text counter0.01087s
POST /helix_versioning_engine/v78/counters/[counter]/increment
can increment the numerical counter0.01529s
DELETE /helix_versioning_engine/v78/counters/[counter]
can delete our test counters0.03165s
HelixVersioningEngine depots
POST /helix_versioning_engine/v78/depots
can create a new depot0.01234s
GET /helix_versioning_engine/v78/depots
returns the new depot in an array of depots0.01124s
GET /helix_versioning_engine/v78/depots/[depot]
can fetch the new depot0.01119s
PATCH /helix_versioning_engine/v78/depots/[depot]
can update the description0.01381s
DELETE /helix_versioning_engine/v78/depots/[depot]
can delete the depot0.01368s
HelixVersioningEngine files
GET /helix_versioning_engine/v78/files
can list depots at the root level0.00852s
can list dirs levels greater than 10.00822s
can list files at levels greater than 10.00824s
PATCH /helix_versioning_engine/v78/files
can edit and add a new file0.03311s
DELETE /helix_versioning_engine/v78/files
can delete a file0.02304s
HelixVersioningEngine groups
POST /helix_versioning_engine/v78/groups
can create a test group0.00792s
GET /helix_versioning_engine/v78/groups
can find the new group in an array of groups0.00742s
PATCH /helix_versioning_engine/v78/groups/[group]
can update the users list0.00854s
GET /helix_versioning_engine/v78/groups/[group]
can load the new group with a View0.00790s
DELETE /helix_versioning_engine/v78/groups/[group]
can delete the group0.01319s
HelixVersioningEngine jobs
POST /helix_versioning_engine/v78/jobs
can create a new job0.00815s
GET /helix_versioning_engine/v78/jobs
returns the new job in an array of jobs0.00840s
GET /helix_versioning_engine/v78/jobs/[job]
can fetch the new job0.01048s
PATCH /helix_versioning_engine/v78/jobs/[job]
can update the description0.01512s
DELETE /helix_versioning_engine/v78/jobs/[job]
can delete the job0.01334s
HelixVersioningEngine labels
POST /helix_versioning_engine/v78/labels
can create a test label0.00900s
GET /helix_versioning_engine/v78/labels
can find the new label in an array of labels0.00814s
PATCH /helix_versioning_engine/v78/labels/[label]
can update the users list0.00858s
GET /helix_versioning_engine/v78/labels/[label]
can load the new label with a View0.00816s
DELETE /helix_versioning_engine/v78/labels/[label]
can delete the label0.01478s
HelixVersioningEngine login
POST /helix_versioning_engine/v78/login
can create ... the same ticket0.00912s
HelixVersioningEngine protections
GET /helix_versioning_engine/v78/protections
should return an array with at least two protections0.00832s
PUT /helix_versioning_engine/v78/protections
should add a protections entry for the user jdoe0.02158s
should remove the protections entry for user jdoe0.02044s
HelixVersioningEngine servers
POST /helix_versioning_engine/v78/servers
can create a test server0.00819s
GET /helix_versioning_engine/v78/servers
can find the new server in an array of servers0.00820s
PATCH /helix_versioning_engine/v78/servers/[server]
can update the users list0.00874s
GET /helix_versioning_engine/v78/servers/[server]
can load the new server with a View0.00898s
DELETE /helix_versioning_engine/v78/servers/[server]
can delete the server0.01260s
HelixVersioningEngine streams
POST /helix_versioning_engine/v78/streams
can create //stream-test/main-XRKGYUZS0.00871s
GET /helix_versioning_engine/v78/streams
should list //stream-test/main-XRKGYUZS in stream defs0.00893s
GET /helix_versioning_engine/v78/streams/[stream]
should fetch only main-XRKGYUZS0.00783s
PATCH /helix_versioning_engine/v78/streams/[stream]
should update the stream description0.01489s
DELETE /helix_versioning_engine/v78/streams/[stream]
should delete the stream0.01383s
HelixVersioningEngine triggers
should add a triggers entry0.01911s
should remove the triggers entry0.01845s
HelixVersioningEngine users
GET /helix_versioning_engine/v78/users
should list jdoe and super users0.00760s
GET /helix_versioning_engine/v78/users/:user
should return the user mmustermann0.00751s
POST /helix_versioning_engine/v78/users
should create a new user0.01393s
PATCH /helix_versioning_engine/v78/users/:user
should update a user email0.01534s
should return a 404 if you attempt to patch an invalid user0.00813s
DELETE /helix_versioning_engine/v78/users/:user
should delete the user0.01284s
HelixWebServices
should return a 500 status with a system error0.01133s
should return a 400 status with a user error0.01131s
HWSStrings
#component_encode,#component_decode
ensure a string doesn't have a forward slash0.00017s
ensure a string with a forward slash can be decoded back0.00013s
ProjectService
passes query parameters to an attach listing method0.00744s
can call back to an extension that returns the project details0.00698s
Projects
GET /projects/v1
HVE Projects
will list project ids with no details value0.00745s
will list project data with details enabled0.00750s
GET /projects/v1/:id
HVE Projects
will list project data for the indicated id0.00686s