Sha256: df3ced57ecb488eaea2ad3dd13780008dae2c45b190c25922e843198d38cb367
Contents?: true
Size: 1.83 KB
Versions: 1
Compression:
Stored size: 1.83 KB
Contents
=begin Titan API The ultimate, language agnostic, container based job processing framework. OpenAPI spec version: 0.2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' require 'date' # Unit tests for IronTitan::NewJob # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'NewJob' do before do # run before each test @instance = IronTitan::NewJob.new end after do # run after each test end describe 'test an instance of NewJob' do it 'should create an instact of NewJob' do @instance.should be_a(IronTitan::NewJob) 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iron_titan-0.2.0 | spec/models/new_job_spec.rb |