diff --git a/test/integration/template_versioning_test.rb b/test/integration/template_versioning_test.rb index 773db78..f0f279e 100644 --- a/test/integration/template_versioning_test.rb +++ b/test/integration/template_versioning_test.rb @@ -125,6 +125,9 @@ # Plan A gets attached to the template v1 post plans_path, {plan: {funder_id: @template.org.id}} + +puts @response.body + assert @response.body.include?("id=\"template_id_#{liveA.id}\""), "expected the user to be presented with the published template" post plans_path, {template_id: liveA.id} planA = Plan.last