From 13c275b18955d131867d33d4e49a135204a926f8 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Fri, 2 Sep 2022 20:02:03 +0200 Subject: [PATCH] Adjust tests to match controller adjustment --- spec/controllers/ajax/mute_rule_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/ajax/mute_rule_controller_spec.rb b/spec/controllers/ajax/mute_rule_controller_spec.rb index 603a6f97..096e2a74 100644 --- a/spec/controllers/ajax/mute_rule_controller_spec.rb +++ b/spec/controllers/ajax/mute_rule_controller_spec.rb @@ -13,7 +13,7 @@ describe Ajax::MuteRuleController, :ajax_controller, type: :controller do { "success" => true, "status" => "okay", - "id" => MuteRule.last.id, + "id" => MuteRule.last.id.to_s, "message" => "Rule added successfully.", } end