comments_controller_spec.rb revision b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomirequire 'spec_helper'
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi get :index, :ontology_id => ontology.to_param, :repository_id => repository.to_param
c6108c1bfa10d5fcd1def9c6a23ebcd5204d1775Timo Sirainen comment = create :comment, :commentable => ontology
345f36ebc7dd445cfa3dbf157342d110cc74d7c7Aki Tuomi get :index, :ontology_id => ontology.to_param, :repository_id => repository.to_param
7c9a9ac8cd5652f0e12a24b07c8559a7be0f5554Timo Sirainen get :index, :ontology_id => ontology.to_param, :repository_id => repository.to_param
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi comment = create :comment, :commentable => ontology
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi get :index, :ontology_id => ontology.to_param, :repository_id => repository.to_param
316cbe323513a0f20d1cf519fe9405e231d633e2Aki Tuomi comment = create :comment, :commentable => ontology, :user => user
ff95c6488eb3239654ed7fd51ed787a6b2c44506Timo Sirainen xhr :delete, :destroy, :ontology_id => ontology.to_param, :repository_id => repository.to_param, :id => comment.id
before do