Sha256: b0656b513e42ace5162d3fffb83e143e32087883c67ff38190b879972c826595
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 KB
Contents
=begin Agrid Quotes API OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' require 'date' # Unit tests for AgridClient::Item # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Item' do before do # run before each test @instance = AgridClient::Item.new end after do # run after each test end describe 'test an instance of Item' do it 'should create an instact of Item' do @instance.should be_a(AgridClient::Item) 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 "title"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "basic"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "price"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "note"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
agrid-client-0.0.2 | spec/models/item_spec.rb |
agrid-client-0.0.1 | spec/models/item_spec.rb |