RSpec Code Examples

 

 

HelixWebServicesClient branches
should create a new branch - and return it via #branches0.06019s
should load a single branch created via #create_branch0.04394s
should be able to update the branch description0.05399s
should be able to delete a branch created via #create_branch0.02876s
HelixWebServicesClient changes
should list change 10.03589s
should describe two files in change 10.01957s
should allow us to integrate0.04077s
should allow us to upload two files to //depot/dev/Experimental0.04393s
should be able to submit changes shelved on classic clients0.06068s
should be able to submit changes shelved on stream clients0.06120s
HelixWebServicesClient clients
should create a new client - and return it via #clients0.02725s
should load a single client created via #create_client0.01735s
'should be able to update the client description'0.03205s
'should be able to delete a client created via #create_client'0.02331s
HelixWebServicesClient commands
command
should allow you to run a whitelisted command without input0.01984s
HelixWebServicesClient config
services
should allow you to fetch an empty service list0.01666s
HelixWebServicesClient counters
#set_counter
can create a numerical counter0.01777s
can create a text counter0.01775s
#counters
can include our test counters in the list0.02099s
#counter
can list our numerical counter0.02292s
can list the text counter0.02006s
#increment_counter
can increment the numerical counter0.03037s
#delete_counter
can delete our test counters0.03156s
HelixWebServicesClient depots
#create_depot
should create a new depot - and return it via #depots0.02607s
#depot
should load a single depot created via #create_depot0.01864s
#update_depot
'should be able to update the depot description'0.03342s
#delete_depot
'should be able to delete a depot created via #create_depot'0.02839s
HelixWebServicesClient files
#files
should list the depots with no arguments0.01926s
should list 'dev' and 'main' dirs at the /depot path0.02218s
should list 'README' at the depot/dev/Experimental path0.02112s
#upload_file
should allow me to upload a new README to depot/dev/Experimental0.03700s
#upload_files
should allow me to upload the README and a new_file to depot/dev/Experimental0.05556s
#delete_file
should allow me to delete a file0.03630s
HelixWebServicesClient groups
#create_group
should create a new group - and return it via #groups0.02492s
#group
should load a single group created via #create_group0.01734s
#update_group
should be able to add a group user0.03369s
#delete_group
should be able to delete a group created via #create_group0.02463s
HelixWebServicesClient Helix Sync
create_helix_sync_device_client
should create a new device client for a user0.02057s
create_helix_sync_shelf_client
should create a new shelf client for a user0.02284s
fetch_helix_sync_latest_changelist
should return a latest changelist for a user0.01984s
preview_helix_sync_pending_change
simple add
indicates a new file should be added0.39123s
remove from shelf
just removes the file from the shelf0.43749s
readd
adds file content that the user has edited but someone else removed0.43621s
submit_helix_sync_pending_change
no resolves needed
creates a new file0.37996s
remove from shelf
just removes the file from the shelf0.37627s
readd
adds file content that the user has edited but someone else removed0.43869s
lock
renames a locked file from the submit4.51153s
HelixWebServicesClient
#initialize
should login to a web services instance0.01369s
should throw an unauthenticated error with the wrong login during init0.00748s
HelixWebServicesClient jobs
#create_job
should create a new job - and return it via #jobs0.02764s
#job
should load a single job created via #create_job0.01810s
#update_job
'should be able to change status'0.02973s
#delete_job
'should be able to delete a job created via #create_job'0.03197s
HelixWebServicesClient labels
#create_label
should create a new label - and return it via #labels0.02605s
#label
should load a single label created via #create_label0.02331s
#update_label
'should be able to update the label description'0.03634s
#delete_label
'should be able to delete a label created via #create_label'0.02806s
HelixWebServicesClient login
#login
should generate the same ticket0.02073s
OpenModel
can find a method with the captialized version of the symbol0.00018s
can match a snake_case name with snakeCase0.00015s
can find alternatives using [name]_or_[name]0.00019s
can convert numeric-style strings to Time via [name]_as_time0.00059s
can convert string dates to Time via [name]_as_time(offset)0.00209s
HelixWebServicesClient projects
projects
should not fail when listing projects0.02257s
HVE Projects
should list project ids when details are not specified0.01995s
should list project details when details are specified0.02224s
project
should trigger a 404 when fetching a project by invalid id0.02015s
HVE Projects
should fetch my project details0.02323s
HelixWebServicesClient protections
#protections
should return an array with at least two protections0.02010s
#update_protections
should add a protections entry for the user jdoe0.03210s
should remove the protections entry for user jdoe0.03402s
HelixWebServicesClient servers
#create_server
should create a new server - and return it via #servers0.02459s
#server
should load a single server created via #create_server0.01939s
#update_server
'should be able to update the server description'0.03932s
#delete_server
'should be able to delete a server created via #create_server'0.02529s
HelixWebServicesClient streams
should create a new stream - and return it via #streams0.03061s
should load a single stream created via #create_stream0.01986s
should be able to update the stream description0.02718s
'should be able to delete a stream created via #create_stream'0.02684s
HelixWebServicesClient#triggers
should allow us to update and fetch a new example trigger line0.03464s
should allow us to clear out the triggers table0.03381s
HelixWebServicesClient users
should at least return the 'jdoe' and 'super' users0.01947s
should return the user 'mmustermann' who has the name 'Max Mustermann'0.02021s
should be able to create a new user and load it0.02639s
should be able update mmusterman's email to max_power@example.com0.03340s
should be able to delete the newuser user0.02922s