comments_routing_spec.rb revision b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian Kornbergerrequire 'spec_helper'
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian Kornberger it { should route(:get, "/repositories/repository_id/ontologies/ontology_id/comments").
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian Kornberger to(action: :index, ontology_id: 'ontology_id', repository_id: 'repository_id') }
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian Kornberger it { should route(:post, "/repositories/repository_id/ontologies/ontology_id/comments").
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian Kornberger to(action: :create, ontology_id: 'ontology_id', repository_id: 'repository_id') }