RSpec Code Examples

 

 

HelixWebServicesClient branches
should create a new branch - and return it via #branches0.11392s
should load a single branch created via #create_branch0.06951s
should be able to update the branch description0.17383s
should be able to delete a branch created via #create_branch0.08752s
HelixWebServicesClient changes
should list change 10.04570s
should describe two files in change 10.06289s
should allow us to integrate0.68901s
should allow us to upload two files to //depot/dev/Experimental0.64972s
should be able to submit changes shelved on classic clients0.73215s
should be able to submit changes shelved on stream clients0.71043s
HelixWebServicesClient clients
should create a new client - and return it via #clients0.06433s
should load a single client created via #create_client0.04485s
'should be able to update the client description'0.08093s
'should be able to delete a client created via #create_client'0.05871s
HelixWebServicesClient commands
command
should allow you to run a whitelisted command without input0.04383s
HelixWebServicesClient config
services
should allow you to fetch an empty service list0.04158s
HelixWebServicesClient counters
#set_counter
can create a numerical counter0.04562s
can create a text counter0.04112s
#counters
can include our test counters in the list0.04321s
#counter
can list our numerical counter0.04535s
can list the text counter0.04457s
#increment_counter
can increment the numerical counter0.05873s
#delete_counter
can delete our test counters0.07675s
HelixWebServicesClient depots
#create_depot
should create a new depot - and return it via #depots0.06097s
#depot
should load a single depot created via #create_depot0.04836s
#update_depot
'should be able to update the depot description'0.07717s
#delete_depot
'should be able to delete a depot created via #create_depot'0.06054s
HelixWebServicesClient files
#files
should list the depots with no arguments0.04550s
should list 'dev' and 'main' dirs at the /depot path0.04914s
should list 'README' at the depot/dev/Experimental path0.05390s
#upload_file
should allow me to upload a new README to depot/dev/Experimental0.64457s
#upload_files
should allow me to upload the README and a new_file to depot/dev/Experimental0.82383s
#delete_file
should allow me to delete a file0.55441s
HelixWebServicesClient git-fusion repositories
should not fail when listing repositories0.05316s
should not submit a config for a mis-configured repo0.04412s
should not submit a config for a a different repo0.04336s
should not submit an incomplete config0.04373s
should submit a config for an uninitialized repo1.45779s
should submit a config for an uninitialized repo with special characters1.25450s
should return 404 when fetching by invalid repo_name0.05802s
should return config when fetching by valid repo_name0.05479s
should replace a config for an already initialized repo1.27301s
should replace a config for an already initialized repo with special characters1.40649s
should not replace config for a valid repo with invalid values0.08881s
should not replace part of configuration with additional parameters0.10363s
should not replace part of configuration with bad data1.07953s
should replace part of configuration for a valid repo1.49569s
should replace part of branch configuration for a valid repo1.66234s
should replace branch name for a valid repo1.47754s
should delete a repository configuration1.26374s
should delete non existent repository0.56398s
should delete a repository configuration with special characters1.34425s
HelixWebServicesClient git-fusion SSH keys
should not fail when listing keys for a user0.06228s
should fail when listing keys for a different user0.04186s
should fail when listing keys for a different user with special characters0.04053s
should add a key for a user1.06902s
should add a key with special characters for a user0.63856s
should add a key with other special characters for a user0.75305s
should fail while adding a key for a different user 0.03934s
should exit with success if the same key is under the same name0.22224s
should not re-add the same key for the same user under a different name0.07825s
should not save different key under the same name0.08063s
should remove the key by key_name0.67455s
should remove the key by key_name with special characters0.60416s
should not fail removing a non-existent key by key_name0.08823s
should remove all keys for a user0.68513s
should not remove all keys for a different user0.04240s
should not fail while removing keys for user with no keys0.07860s
HelixWebServicesClient groups
#create_group
should create a new group - and return it via #groups0.05969s
#group
should load a single group created via #create_group0.04148s
#update_group
should be able to add a group user0.08268s
#delete_group
should be able to delete a group created via #create_group0.06122s
HelixWebServicesClient Helix Sync
create_helix_sync_device_client
should create a new device client for a user0.04668s
create_helix_sync_shelf_client
should create a new shelf client for a user0.04625s
fetch_helix_sync_latest_changelist
should return a latest changelist for a user0.04251s
preview_helix_sync_pending_change
simple add
indicates a new file should be added0.53389s
remove from shelf
just removes the file from the shelf1.73886s
readd
adds file content that the user has edited but someone else removed1.72469s
submit_helix_sync_pending_change
no resolves needed
creates a new file1.04659s
remove from shelf
just removes the file from the shelf1.09952s
readd
adds file content that the user has edited but someone else removed2.25027s
lock
renames a locked file from the submit5.67781s
HelixWebServicesClient
#initialize
should login to a web services instance0.02642s
should throw an unauthenticated error with the wrong login during init0.01232s
HelixWebServicesClient jobs
#create_job
should create a new job - and return it via #jobs0.05744s
#job
should load a single job created via #create_job0.03989s
#update_job
'should be able to change status'0.07012s
#delete_job
'should be able to delete a job created via #create_job'0.05313s
HelixWebServicesClient labels
#create_label
should create a new label - and return it via #labels0.05495s
#label
should load a single label created via #create_label0.03859s
#update_label
'should be able to update the label description'0.07744s
#delete_label
'should be able to delete a label created via #create_label'0.05195s
HelixWebServicesClient login
#login
should generate the same ticket0.03675s
OpenModel
can find a method with the captialized version of the symbol0.00018s
can match a snake_case name with snakeCase0.00024s
can find alternatives using [name]_or_[name]0.00021s
can convert numeric-style strings to Time via [name]_as_time0.00061s
can convert string dates to Time via [name]_as_time(offset)0.00221s
HelixWebServicesClient projects
projects
should not fail when listing projects0.03783s
HVE Projects
should list project ids when details are not specified0.04293s
should list project details when details are specified0.04209s
project
should trigger a 404 when fetching a project by invalid id0.04073s
HVE Projects
should fetch my project details0.03985s
HelixWebServicesClient protections
#protections
should return an array with at least two protections0.04130s
#update_protections
should add a protections entry for the user jdoe0.07080s
should remove the protections entry for user jdoe0.06953s
HelixWebServicesClient servers
#create_server
should create a new server - and return it via #servers0.05204s
#server
should load a single server created via #create_server0.04065s
#update_server
'should be able to update the server description'0.06934s
#delete_server
'should be able to delete a server created via #create_server'0.05242s
HelixWebServicesClient streams
should create a new stream - and return it via #streams0.05361s
should load a single stream created via #create_stream0.04012s
should be able to update the stream description0.05829s
'should be able to delete a stream created via #create_stream'0.05534s
HelixWebServicesClient#triggers
should allow us to update and fetch a new example trigger line0.11768s
should allow us to clear out the triggers table0.07162s
HelixWebServicesClient users
should at least return the 'jdoe' and 'super' users0.03899s
should return the user 'mmustermann' who has the name 'Max Mustermann'0.03843s
should be able to create a new user and load it0.05536s
should be able update mmusterman's email to max_power@example.com0.07000s
should be able to delete the newuser user0.05349s