Fix more deprecated keyword arguments

This commit is contained in:
Matt-Yorkley
2022-01-18 11:29:21 +00:00
parent f7b65efb00
commit 48a7cfa09e
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@
.columns.small-12.fat
%div{"ng-if" => "::producer.name"}
%label
= t :producers_buy_at_html, {enterprise: '<span class="turquoise" ng-bind="::producer.name"></span>'.html_safe}
= t :producers_buy_at_html, enterprise: '<span class="turquoise" ng-bind="::producer.name"></span>'.html_safe
%div.show-for-medium-up{"ng-if" => "::!producer.name"}
&nbsp;
.row.cta-container

View File

@@ -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