Sha256: fcabb986d707e9b426f3b5a9744032c48870a39931b34391f892022c65f3aeab
Contents?: true
Size: 1.76 KB
Versions: 1
Compression:
Stored size: 1.76 KB
Contents
=begin Titan API The ultimate, language agnostic, container based job processing framework. OpenAPI spec version: 0.0.9 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' # Unit tests for IronTitan::CoreApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CoreApi' do before do # run before each test @instance = IronTitan::CoreApi.new end after do # run after each test end describe 'test an instance of CoreApi' do it 'should create an instact of CoreApi' do @instance.should be_a(IronTitan::CoreApi) end end # unit tests for job_id_get # Gets job by id # Gets a job by id. # @param id Job id # @param [Hash] opts the optional parameters # @return [JobWrapper] describe 'job_id_get test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end # unit tests for jobs_get # Get next job. # Gets the next job in the queue, ready for processing. # @param [Hash] opts the optional parameters # @option opts [Integer] :n Number of jobs to return. # @return [JobArray] describe 'jobs_get test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end # unit tests for jobs_post # Enqueue Job # Enqueues a job. # @param body Array of jobs to post. # @param [Hash] opts the optional parameters # @return [JobArray] describe 'jobs_post test' do it "should work" do # assertion here # should be_a() # should be_nil # should == # should_not == end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iron_titan-0.0.9 | spec/api/core_api_spec.rb |