Project

General

Profile

« Previous | Next » 

Revision 6e7682a9

Added by Sam Kottler over 10 years ago

Fixes #4221: add :dependent => :destroy for compute profiles on compute resource

View differences:

test/unit/compute_profile_test.rb
assert_equal 2, ComputeProfile.visibles.count
end
test "compute profile with associated attributes can be destroyed" do
assert_difference('ComputeAttribute.count', -2) do
assert compute_attributes(:three).compute_profile.destroy
end
end
end

Also available in: Unified diff