spec/hello_sign/api/template_spec.rb in hellosign-ruby-sdk-3.2.0 vs spec/hello_sign/api/template_spec.rb in hellosign-ruby-sdk-3.2.1

- old
+ new

@@ -62,6 +62,17 @@ it 'should return a Template' do expect(@template).to be_an HelloSign::Resource::Template end end + + describe '#get_template_files' do + before do + stub_get('/template/files/1', 'file') + @files = HelloSign.get_template_files :template_id => 1 + end + + it 'should get the correct resource' do + expect(a_get('/template/files/1')).to have_been_made + end + end end