Add SDG goals/targets to legislation proposals
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user