From 13525261add89264eded0f81d0177476c9664ad5 Mon Sep 17 00:00:00 2001 From: angusmcleod Date: Thu, 18 Feb 2021 14:44:14 +1100 Subject: [PATCH] Fix out of date open composer spec --- coverage/.last_run.json | 2 +- spec/components/custom_wizard/action_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coverage/.last_run.json b/coverage/.last_run.json index c135c6ad..42d46659 100644 --- a/coverage/.last_run.json +++ b/coverage/.last_run.json @@ -1,5 +1,5 @@ { "result": { - "line": 89.57 + "line": 89.56 } } diff --git a/spec/components/custom_wizard/action_spec.rb b/spec/components/custom_wizard/action_spec.rb index 2e7aec24..751f592f 100644 --- a/spec/components/custom_wizard/action_spec.rb +++ b/spec/components/custom_wizard/action_spec.rb @@ -116,7 +116,7 @@ describe CustomWizard::Action do category = Category.find_by(id: wizard.current_submission['action_8']) expect(updater.result[:redirect_on_next]).to eq( - "/new-topic?title=Title%20of%20the%20composer%20topic&body=I%20am%20interpolating%20some%20user%20fields%20Angus%20angus%20angus%40email.com&category=#{category.slug}/#{category.id}&tags=tag1" + "/new-topic?title=Title%20of%20the%20composer%20topic&body=I%20am%20interpolating%20some%20user%20fields%20Angus%20angus%20angus%40email.com&category_id=#{category.id}&tags=tag1" ) end