RSpec Code Examples

 

 

HelixWebServicesClient branches
should create a new branch - and return it via #branches0.09468s
should load a single branch created via #create_branch0.02378s
should be able to update the branch description0.04800s
should be able to delete a branch created via #create_branch0.03448s
HelixWebServicesClient changes
should list change 10.03255s
should describe two files in change 10.03485s
should allow us to integrate0.06046s
should allow us to upload two files to //depot/dev/Experimental0.06876s
should be able to submit changes shelved on classic clients0.10212s
should be able to submit changes shelved on stream clients0.10802s
HelixWebServicesClient clients
should create a new client - and return it via #clients0.04941s
should load a single client created via #create_client0.02615s
'should be able to update the client description'0.06771s
'should be able to delete a client created via #create_client'0.03817s
HelixWebServicesClient commands
command
should allow you to run a whitelisted command without input0.02441s
HelixWebServicesClient config
services
should allow you to fetch an empty service list0.02233s
HelixWebServicesClient counters
#set_counter
can create a numerical counter0.02545s
can create a text counter0.02389s
#counters
can include our test counters in the list0.02403s
#counter
can list our numerical counter0.02316s
can list the text counter0.02284s
#increment_counter
can increment the numerical counter0.03539s
#delete_counter
can delete our test counters0.04728s
HelixWebServicesClient depots
#create_depot
should create a new depot - and return it via #depots0.03553s
#depot
should load a single depot created via #create_depot0.02303s
#update_depot
'should be able to update the depot description'0.05149s
#delete_depot
'should be able to delete a depot created via #create_depot'0.03650s
HelixWebServicesClient files
#files
should list the depots with no arguments0.02507s
should list 'dev' and 'main' dirs at the /depot path0.02518s
should list 'README' at the depot/dev/Experimental path0.02568s
#upload_file
should allow me to upload a new README to depot/dev/Experimental0.05257s
#upload_files
should allow me to upload the README and a new_file to depot/dev/Experimental0.08618s
#delete_file
should allow me to delete a file0.06080s
HelixWebServicesClient groups
#create_group
should create a new group - and return it via #groups0.03785s
#group
should load a single group created via #create_group0.02511s
#update_group
should be able to add a group user0.05131s
#delete_group
should be able to delete a group created via #create_group0.03546s
HelixWebServicesClient Helix Sync
create_helix_sync_client
should create a new client for a user0.02940s
create_helix_sync_pending_changelist
should create or return a pending changelist for a user0.03368s
fetch_helix_sync_pending_changelist
should return a pending changelist for a user0.02425s
fetch_helix_sync_latest_changelist
should return a latest changelist for a user0.02458s
submit_helix_sync_pending_change
should submit a pending change for a project0.11464s
HelixWebServicesClient
#initialize
should login to a web services instance0.01221s
should throw an unauthenticated error with the wrong login during init0.01244s
HelixWebServicesClient jobs
#create_job
should create a new job - and return it via #jobs0.04031s
#job
should load a single job created via #create_job0.02553s
#update_job
'should be able to change status'0.04846s
#delete_job
'should be able to delete a job created via #create_job'0.03614s
HelixWebServicesClient labels
#create_label
should create a new label - and return it via #labels0.03462s
#label
should load a single label created via #create_label0.02229s
#update_label
'should be able to update the label description'0.04986s
#delete_label
'should be able to delete a label created via #create_label'0.03671s
HelixWebServicesClient login
#login
should generate the same ticket0.02349s
OpenModel
can find a method with the captialized version of the symbol0.00016s
can match a snake_case name with snakeCase0.00017s
can find alternatives using [name]_or_[name]0.00025s
can convert numeric-style strings to Time via [name]_as_time0.00057s
can convert string dates to Time via [name]_as_time(offset)0.00215s
HelixWebServicesClient projects
projects
should not fail when listing projects0.02209s
HVE Projects
should list project ids when details are not specified0.02307s
should list project details when details are specified0.02413s
project
should trigger a 404 when fetching a project by invalid id0.02349s
HVE Projects
should fetch my project details0.02364s
HelixWebServicesClient protections
#protections
should return an array with at least two protections0.02429s
#update_protections
should add a protections entry for the user jdoe0.04544s
should remove the protections entry for user jdoe0.04976s
HelixWebServicesClient servers
#create_server
should create a new server - and return it via #servers0.03546s
#server
should load a single server created via #create_server0.02271s
#update_server
'should be able to update the server description'0.04835s
#delete_server
'should be able to delete a server created via #create_server'0.03519s
HelixWebServicesClient streams
should create a new stream - and return it via #streams0.03737s
should load a single stream created via #create_stream0.02391s
should be able to update the stream description0.03839s
'should be able to delete a stream created via #create_stream'0.03520s
HelixWebServicesClient#triggers
should allow us to update and fetch a new example trigger line0.04657s
should allow us to clear out the triggers table0.05081s
HelixWebServicesClient users
should at least return the 'jdoe' and 'super' users0.02614s
should return the user 'mmustermann' who has the name 'Max Mustermann'0.02245s
should be able to create a new user and load it0.03990s
should be able update mmusterman's email to max_power@example.com0.05414s
should be able to delete the newuser user0.03898s