Skip to content

Commit

Permalink
Change spec to use a non-reserved IATI reference
Browse files Browse the repository at this point in the history
The spec is correct with regards to format, but it can give the wrong
impression about using that specific identifier for a non-service owner
organisation.
  • Loading branch information
CristinaRO committed Jan 19, 2024
1 parent a91d477 commit fed1498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/organisation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

describe "#iati_reference" do
it "returns true if it does matches a known structure XX-XXX-" do
organisation = build(:partner_organisation, iati_reference: "GB-GOV-13")
organisation = build(:partner_organisation, iati_reference: "GB-GOV-44")
result = organisation.valid?
expect(result).to be(true)
end
Expand Down

0 comments on commit fed1498

Please sign in to comment.