=begin Titan API The ultimate, language agnostic, container based job processing framework. OpenAPI spec version: 0.3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' require 'date' # Unit tests for IronTitan::Job # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Job' do before do # run before each test @instance = IronTitan::Job.new end after do # run after each test end describe 'test an instance of Job' do it 'should create an instact of Job' do @instance.should be_a(IronTitan::Job) end end describe 'test attribute "image"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "payload"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "delay"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "timeout"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "priority"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "max_retries"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "retries_delay"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "id"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "status"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "group_name"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "reason"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "created_at"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "started_at"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "completed_at"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "retry_of"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "retry_id"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end end