spec/unit/veritas/function/connective/negation/methods/not_spec.rb in veritas-0.0.4 vs spec/unit/veritas/function/connective/negation/methods/not_spec.rb in veritas-0.0.5

- old
+ new

@@ -17,20 +17,20 @@ end context 'with no arguments' do subject { object.send(method) } - it { should be_kind_of(Function::Connective::Negation) } + it { should be_instance_of(Function::Connective::Negation) } its(:operand) { should equal(object) } end context 'when a function is provided' do subject { object.send(method, predicate) } let(:predicate) { Function::Predicate::Equality.new(header[:id], 1) } - it { should be_kind_of(Function::Connective::Conjunction) } + it { should be_instance_of(Function::Connective::Conjunction) } its(:left) { should equal(object) } its(:right) { should eql(Function::Connective::Negation.new(predicate)) } end