Sha256: 5422774d36675a9940e31c1e518d7e8d55946ee51ace50a329a0583ef2cb7b9f

Contents?: true

Size: 176 Bytes

Versions: 12

Compression:

Stored size: 176 Bytes

Contents

require 'rails_helper'

RSpec.describe Post, :type => :model do
  it { should have_many(:comments).dependent(:destroy).class_name('Comment').conditions(role: '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_spec.rb
acts_as_commentable_more-1.2.10 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.9 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.8 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.7 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.6 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.5 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.4 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.3 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.2 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.1 test/dummy/spec/models/post_spec.rb
acts_as_commentable_more-1.2.0 test/dummy/spec/models/post_spec.rb