RSpec Code Examples

 

 

HelixWebServicesClient branches
should create a new branch - and return it via #branches0.12312s
should load a single branch created via #create_branch0.08682s
should be able to update the branch description0.11490s
should be able to delete a branch created via #create_branch0.07821s
HelixWebServicesClient changes
should list change 10.06907s
should describe two files in change 10.04747s
should allow us to integrate0.09797s
should allow us to upload two files to //depot/dev/Experimental0.11972s
should be able to submit changes shelved on classic clients0.17306s
should be able to submit changes shelved on stream clients0.18237s
HelixWebServicesClient clients
should create a new client - and return it via #clients0.06663s
should load a single client created via #create_client0.04568s
'should be able to update the client description'0.07888s
'should be able to delete a client created via #create_client'0.06385s
HelixWebServicesClient commands
command
should allow you to run a whitelisted command without input0.04727s
HelixWebServicesClient config
services
should allow you to fetch an empty service list0.04375s
HelixWebServicesClient counters
#set_counter
can create a numerical counter0.04408s
can create a text counter0.04401s
#counters
can include our test counters in the list0.04800s
#counter
can list our numerical counter0.04750s
can list the text counter0.04585s
#increment_counter
can increment the numerical counter0.06364s
#delete_counter
can delete our test counters0.07776s
HelixWebServicesClient depots
#create_depot
should create a new depot - and return it via #depots0.06856s
#depot
should load a single depot created via #create_depot0.04610s
#update_depot
'should be able to update the depot description'0.09395s
#delete_depot
'should be able to delete a depot created via #create_depot'0.06974s
HelixWebServicesClient files
#files
should list the depots with no arguments0.04238s
should list 'dev' and 'main' dirs at the /depot path0.04597s
should list 'README' at the depot/dev/Experimental path0.04962s
#upload_file
should allow me to upload a new README to depot/dev/Experimental0.10519s
#upload_files
should allow me to upload the README and a new_file to depot/dev/Experimental0.16332s
#delete_file
should allow me to delete a file0.11058s
HelixWebServicesClient groups
#create_group
should create a new group - and return it via #groups0.06290s
#group
should load a single group created via #create_group0.04930s
#update_group
should be able to add a group user0.08592s
#delete_group
should be able to delete a group created via #create_group0.07406s
HelixWebServicesClient Helix Sync
create_helix_sync_device_client
should create a new device client for a user0.05808s
create_helix_sync_shelf_client
should create a new shelf client for a user0.06001s
fetch_helix_sync_latest_changelist
should return a latest changelist for a user0.05549s
preview_helix_sync_pending_change
simple add
indicates a new file should be added0.62539s
remove from shelf
just removes the file from the shelf0.79287s
readd
adds file content that the user has edited but someone else removed0.77352s
submit_helix_sync_pending_change
no resolves needed
creates a new file0.55025s
remove from shelf
just removes the file from the shelf0.54077s
readd
adds file content that the user has edited but someone else removed0.70140s
lock
renames a locked file from the submit4.76536s
HelixWebServicesClient
#initialize
should login to a web services instance0.03001s
should throw an unauthenticated error with the wrong login during init0.01557s
HelixWebServicesClient jobs
#create_job
should create a new job - and return it via #jobs0.06674s
#job
should load a single job created via #create_job0.04641s
#update_job
'should be able to change status'0.08218s
#delete_job
'should be able to delete a job created via #create_job'0.05953s
HelixWebServicesClient labels
#create_label
should create a new label - and return it via #labels0.06161s
#label
should load a single label created via #create_label0.04680s
#update_label
'should be able to update the label description'0.09111s
#delete_label
'should be able to delete a label created via #create_label'0.07505s
HelixWebServicesClient login
#login
should generate the same ticket0.04195s
OpenModel
can find a method with the captialized version of the symbol0.00023s
can match a snake_case name with snakeCase0.00018s
can find alternatives using [name]_or_[name]0.00021s
can convert numeric-style strings to Time via [name]_as_time0.00067s
can convert string dates to Time via [name]_as_time(offset)0.00220s
HelixWebServicesClient projects
projects
should not fail when listing projects0.04845s
HVE Projects
should list project ids when details are not specified0.04512s
should list project details when details are specified0.04799s
project
should trigger a 404 when fetching a project by invalid id0.04340s
HVE Projects
should fetch my project details0.04249s
HelixWebServicesClient protections
#protections
should return an array with at least two protections0.04476s
#update_protections
should add a protections entry for the user jdoe0.08256s
should remove the protections entry for user jdoe0.08203s
HelixWebServicesClient servers
#create_server
should create a new server - and return it via #servers0.06467s
#server
should load a single server created via #create_server0.04952s
#update_server
'should be able to update the server description'0.10225s
#delete_server
'should be able to delete a server created via #create_server'0.07317s
HelixWebServicesClient streams
should create a new stream - and return it via #streams0.07653s
should load a single stream created via #create_stream0.05438s
should be able to update the stream description0.08111s
'should be able to delete a stream created via #create_stream'0.09161s
HelixWebServicesClient#triggers
should allow us to update and fetch a new example trigger line0.09837s
should allow us to clear out the triggers table0.09536s
HelixWebServicesClient users
should at least return the 'jdoe' and 'super' users0.04441s
should return the user 'mmustermann' who has the name 'Max Mustermann'0.04282s
should be able to create a new user and load it0.06637s
should be able update mmusterman's email to max_power@example.com0.09290s
should be able to delete the newuser user0.06171s