From 48a7cfa09e47a9bde4958e3e46452939d09d10ab Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 18 Jan 2022 11:29:21 +0000 Subject: [PATCH] Fix more deprecated keyword arguments --- app/views/producers/_fat.html.haml | 2 +- spec/controllers/api/v0/base_controller_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/producers/_fat.html.haml b/app/views/producers/_fat.html.haml index c198621680..54e7c7298a 100644 --- a/app/views/producers/_fat.html.haml +++ b/app/views/producers/_fat.html.haml @@ -72,7 +72,7 @@ .columns.small-12.fat %div{"ng-if" => "::producer.name"} %label - = t :producers_buy_at_html, {enterprise: ''.html_safe} + = t :producers_buy_at_html, enterprise: ''.html_safe %div.show-for-medium-up{"ng-if" => "::!producer.name"}   .row.cta-container diff --git a/spec/controllers/api/v0/base_controller_spec.rb b/spec/controllers/api/v0/base_controller_spec.rb index ec9875723b..a2b9bdde62 100644 --- a/spec/controllers/api/v0/base_controller_spec.rb +++ b/spec/controllers/api/v0/base_controller_spec.rb @@ -38,7 +38,7 @@ describe Api::V0::BaseController do context "cannot make a request to the API" do it "with an invalid API key" do request.headers["X-Spree-Token"] = "fake_key" - get :index, {} + get :index, params: {} expect(json_response).to eq( "error" => "Invalid API key (fake_key) specified." ) expect(response.status).to eq(401) end