diff --git a/spec/views/locations/index.html.erb_spec.rb b/spec/views/locations/index.html.erb_spec.rb
index 9cb8effe5..168e1ebfd 100644
--- a/spec/views/locations/index.html.erb_spec.rb
+++ b/spec/views/locations/index.html.erb_spec.rb
@@ -23,6 +23,7 @@ RSpec.describe "locations/index.html.erb" do
available_from: 1.week.ago,
scheme_deactivation_periods: [],
status: :active,
+ locations: Location,
)
end