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