spec/hello_sign/api/template_spec.rb in hellosign-ruby-sdk-3.2.15 vs spec/hello_sign/api/template_spec.rb in hellosign-ruby-sdk-3.3.0

- old
+ new

@@ -31,9 +31,17 @@ end it 'each of Array is an Template' do expect(@template[0]).to be_an HelloSign::Resource::Template end + + it 'should return list_info as a BaseResource in results' do + expect(@template[0].list_info).to be_an HelloSign::Resource::BaseResource + end + + it 'should return page numbers as an integer' do + expect(@template[0].list_info.page).to be_an Integer + end end describe '#add_user_to_template' do before do stub_post('/template/add_user/1', 'template')