require 'spec_helper'
before do
end
it{ should respond_with :success }
end
before do
comment = create :comment, :commentable => ontology
end
it{ should respond_with :success }
end
end
end
before do
end
it{ should respond_with :success }
end
before do
comment = create :comment, :commentable => ontology
end
it{ should respond_with :success }
end
before do
xhr :delete, :destroy, :ontology_id => ontology.to_param, :repository_id => repository.to_param, :id => comment.id
end
it{ should respond_with :success }
end
end
before do
end
end
before do
end
it{ should respond_with :success }
end
end
end
end