Sha256: bee1a0bbe6f268c22cb9e77bd1ab305dbddfae3e28657e16e51d72e5225c8002

Contents?: true

Size: 203 Bytes

Versions: 12

Compression:

Stored size: 203 Bytes

Contents

require 'rails_helper'

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

Version data entries

12 entries across 12 versions & 1 rubygems

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