require 'spec_helper'
version_url_regex = %r{
http://example\.com/repositories/
ontologies/\d+/versions/\d+$
}x
end
end
item: repository) }
end
expect(OntologyVersion.accessible_by(user).all.map(&:id)).not_to include(ontology.current_version.id)
end
end
end
end