Sha256: 021365e611f75970aa1cd8e107e28781b6f0ba219fc0e9b3b2c5c9e46de60f58

Contents?: true

Size: 324 Bytes

Versions: 12

Compression:

Stored size: 324 Bytes

Contents

require 'rails_helper'

RSpec.describe NoteCustomAssoName, :type => :model do
  it { should have_many(:private_custom_comments).dependent(:destroy).class_name('Comment').conditions(role: 'private') }
  it { should have_many(:public_custom_comments).dependent(:destroy).class_name('Comment').conditions(role: 'public') }
end

Version data entries

12 entries across 12 versions & 1 rubygems

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