Sha256: d259fe5bb4ab4eb139db31941d883803a2a1b4fdf1414808d2db2133d5705b88
Contents?: true
Size: 1.57 KB
Versions: 2
Compression:
Stored size: 1.57 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::Customer # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Customer' do before do # run before each test @instance = AgridClient::Customer.new end after do # run after each test end describe 'test an instance of Customer' do it 'should create an instact of Customer' do @instance.should be_a(AgridClient::Customer) 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 "avatar"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "name"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "email"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "phone"' 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/customer_spec.rb |
agrid-client-0.0.1 | spec/models/customer_spec.rb |