spec/unit/axiom/algebra/extension/class_methods/new_spec.rb in axiom-0.1.1 vs spec/unit/axiom/algebra/extension/class_methods/new_spec.rb in axiom-0.2.0

- old
+ new

@@ -13,10 +13,10 @@ it { should be_instance_of(object) } end context 'with a duplicate attribute name provided' do - let(:extensions) { { id: proc {}, name: proc {} } } + let(:extensions) { { id: EMPTY_PROC, name: EMPTY_PROC } } specify { expect { subject }.to raise_error(DuplicateNameError, 'duplicate names: [:id, :name]') } end end