|
|
|
@ -183,6 +183,7 @@ RSpec.describe FiltersHelper do |
|
|
|
OpenStruct.new(id: parent_organisation.id, name: "Parent organisation"), |
|
|
|
OpenStruct.new(id: parent_organisation.id, name: "Parent organisation"), |
|
|
|
OpenStruct.new(id: 9_999_999, name: "Other 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 |
|
|
|
it "returns an empty list" do |
|
|
|
|