spec/unit/veritas/logic/expression/hash_spec.rb in veritas-0.0.2 vs spec/unit/veritas/logic/expression/hash_spec.rb in veritas-0.0.3

- old
+ new

@@ -1,11 +1,11 @@ require 'spec_helper' require File.expand_path('../fixtures/classes', __FILE__) -describe 'Veritas::Logic::Expression#hash' do +describe Logic::Expression, '#hash' do subject { object.hash } - let(:klass) { ExpressionSpecs::Object } - let(:object) { klass.new } + let(:described_class) { ExpressionSpecs::Object } + let(:object) { described_class.new } - specify { expect { subject }.to raise_error(NotImplementedError, "#{klass}#hash must be implemented") } + specify { expect { subject }.to raise_error(NotImplementedError, "#{described_class}#hash must be implemented") } end