spec/unit/veritas/operation/unary/operand_spec.rb in veritas-0.0.2 vs spec/unit/veritas/operation/unary/operand_spec.rb in veritas-0.0.3

- old
+ new

@@ -1,11 +1,11 @@ require 'spec_helper' -describe 'Veritas::Operation::Unary#operand' do +describe Operation::Unary, '#operand' do subject { object.operand } - let(:klass) { Class.new { include Operation::Unary } } - let(:object) { klass.new(operand) } + let(:described_class) { Class.new { include Operation::Unary } } + let(:object) { described_class.new(operand) } context 'when operand is frozen' do let(:operand) { 'Operand'.freeze } it { should equal(operand) }