spec/unit/axiom/function/unary/invertible/inverse_spec.rb in axiom-0.1.0 vs spec/unit/axiom/function/unary/invertible/inverse_spec.rb in axiom-0.1.1

- old
+ new

@@ -4,11 +4,11 @@ describe Function::Unary::Invertible, '#inverse' do subject { object.inverse } let(:described_class) { Class.new(Function) { include Function::Unary } } - let(:operand) { mock('Operand').freeze } + let(:operand) { double('Operand').freeze } let(:object) { described_class.new(operand) } let(:inverse_class) do Class.new(Function) do include Function::Unary::Invertible, Function::Unary @@ -39,7 +39,7 @@ it_should_behave_like 'an invertible method' it { should be_instance_of(InverseClass) } - its(:operand) { should equal(operand) } + its(:operand) { should be(operand) } end