spec/fizzy/api/endpoints/render_graph_spec.rb in fizzy-api-0.1.0 vs spec/fizzy/api/endpoints/render_graph_spec.rb in fizzy-api-0.1.1
- old
+ new
@@ -23,10 +23,10 @@
.and_return(response)
outcome = described_class.run! dossier_id: dossier_id,
protocol_subscription_id: protocol_subscription_id,
path: path,
options: options
- expect(outcome).to eq '<svg>'
+ expect(outcome).to eq response
end
describe 'error handling' do
it 'should notice a 202' do
allow(response).to receive(:code).and_return 202