Sha256: bbab1518eda745b77a70b1eb8a62d017a44b9360cca66ea3beb63ee710e5fcc0

Contents?: true

Size: 196 Bytes

Versions: 10

Compression:

Stored size: 196 Bytes

Contents

require 'rails_helper'

RSpec.describe Topic, :type => :model do
  it { should have_many(:custom_comments).dependent(:destroy).class_name('CustomComment').conditions(role: 'custom_comment') }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
acts_as_commentable_more-1.2.11 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.10 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.9 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.8 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.7 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.6 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.5 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.4 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.3 test/dummy/spec/models/topic_spec.rb
acts_as_commentable_more-1.2.2 test/dummy/spec/models/topic_spec.rb