ontology_version_spec.rb revision 81da36894af70bbb8d8e24b004026ad4c5c1bc99
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