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