Sha256: 70e0eabb3e3654016a9922132d018e25bea056239447e069326822df7ba36eb1
Contents?: true
Size: 321 Bytes
Versions: 5
Compression:
Stored size: 321 Bytes
Contents
require 'spec_helper' describe Mdm::Cred do context "Associations" do it { should have_many(:task_creds).class_name('Mdm::TaskCred').dependent(:destroy) } it { should have_many(:tasks).class_name('Mdm::Task').through(:task_creds) } it { should belong_to(:service).class_name('Mdm::Service') } end end
Version data entries
5 entries across 5 versions & 1 rubygems