spec/sitehub/collection_spec.rb in sitehub-0.5.0.alpha7 vs spec/sitehub/collection_spec.rb in sitehub-0.5.0.alpha8

- old
+ new

@@ -30,10 +30,10 @@ it 'raises an error' do duplicate = Struct.new(:id).new(1) subject.add(duplicate.id, duplicate) expected_message = described_class::ClassMethods::UNIQUE_LABELS_MSG expect { subject.add(duplicate.id, duplicate) } - .to raise_exception described_class::DuplicateVersionException, expected_message + .to raise_exception described_class::DuplicateVersionError, expected_message end end end end end