comments_controller_spec.rb revision b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373
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
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