Add SDG goals/targets to legislation proposals

This commit is contained in:
Javi Martín
2021-02-24 20:20:40 +01:00
parent 3d97708cc5
commit 45517f659e
12 changed files with 31 additions and 11 deletions

View File

@@ -33,8 +33,8 @@ describe SDG::ProcessEnabled do
end
it "returns false when record or name are not a relatable type" do
expect(SDG::ProcessEnabled.new(build(:legislation_proposal))).not_to be_enabled
expect(SDG::ProcessEnabled.new("Legislation::Proposal")).not_to be_enabled
expect(SDG::ProcessEnabled.new(build(:legislation_question))).not_to be_enabled
expect(SDG::ProcessEnabled.new("Legislation::Question")).not_to be_enabled
expect(SDG::ProcessEnabled.new("officing/booth")).not_to be_enabled
end
end