From d28268d3bd7116ba5245e1587c2a7b031dfd7519 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 15 Aug 2024 12:35:42 +0100 Subject: [PATCH] Fix lint offence --- spec/helpers/filters_helper_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/helpers/filters_helper_spec.rb b/spec/helpers/filters_helper_spec.rb index 13b55ea5a..d214dca85 100644 --- a/spec/helpers/filters_helper_spec.rb +++ b/spec/helpers/filters_helper_spec.rb @@ -183,8 +183,9 @@ RSpec.describe FiltersHelper do OpenStruct.new(id: parent_organisation.id, name: "Parent organisation"), OpenStruct.new(id: 9_999_999, name: "Other organisation"), ]) + end - context "when no organisation is selected in the filters" do + context "when no organisation is selected in the filters" do it "returns an empty list" do expect(owning_organisation_filter_options(user.reload, "lettings_logs")).to eq([ OpenStruct.new(id: "", name: "Select an option"),