spec/email_template_spec.rb in govdelivery-tms-0.10.1 vs spec/email_template_spec.rb in govdelivery-tms-2.8.3

- old
+ new

@@ -23,10 +23,10 @@ 'created_at' => 'sometime', '_links' => { 'self' => '/templates/email/new-template', 'account' => '/accounts/1', 'from_address' => '/from_addresses/1' } } ] - expect(@templates.client).to receive('get').with('/templates/email').and_return(double('response', status: 200, body: response, headers: {})) + expect(@templates.client).to receive('get').with('/templates/email', {}).and_return(double('response', status: 200, body: response, headers: {})) @templates.get expect(@templates.collection.length).to eq(1) end end