Sha256: f4d6e8052b87f44bde85b163da23600b31c40782c4e0dc3df18935219070117c
Contents?: true
Size: 275 Bytes
Versions: 4
Compression:
Stored size: 275 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' module Enki describe Tag do describe 'on delete' do it 'also deletes all associated taggings' do Tag.reflect_on_association(:taggings).options[:dependent].should == :destroy end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
enki-engine-0.0.5 | spec/models/tag_spec.rb |
enki-engine-0.0.4 | spec/models/tag_spec.rb |
enki-engine-0.0.3 | spec/models/tag_spec.rb |
enki-engine-0.0.2 | spec/models/tag_spec.rb |