Skip to content
Snippets Groups Projects
Commit 9f92e2bd authored by Ando Emerencia's avatar Ando Emerencia
Browse files

rubocop

parent c9d65b51
Branches
Tags
1 merge request!12Added 202 for synchronous render controller
......@@ -33,7 +33,8 @@ module Fizzy
it 'should notice a 202' do
allow(response).to receive(:code).and_return 202
expect(session).to receive(:get)
.with("/dossier/#{dossier_id}/protocol_subscriptions/#{protocol_subscription_id}/render_sync/#{path}", options)
.with("/dossier/#{dossier_id}/protocol_subscriptions/#{protocol_subscription_id}/render_sync/#{path}",
options)
.and_return(response)
outcome = lambda do
described_class.run! dossier_id: dossier_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment