lib/zendesk2/update_organization.rb in zendesk2-1.8.1 vs lib/zendesk2/update_organization.rb in zendesk2-1.9.0

- old
+ new

@@ -18,10 +18,10 @@ end def mock record = self.find!(:organizations, organization_id) - other_organizations = service.data[:organizations].dup + other_organizations = cistern.data[:organizations].dup other_organizations.delete(organization_id) if organization["name"] && other_organizations.values.find { |o| o["name"].downcase == organization["name"].downcase } error!(:invalid, details: {"name" => [ { "description" => "Name: has already been taken" } ]}) end