spec/unit/axiom/sql/generator/visitor/visit_spec.rb in axiom-sql-generator-0.1.0 vs spec/unit/axiom/sql/generator/visitor/visit_spec.rb in axiom-sql-generator-0.2.0

- old
+ new

@@ -3,10 +3,10 @@ require 'spec_helper' describe SQL::Generator::Visitor, '#visit' do subject { object.visit(visitable) } - let(:visitable) { mock('handled object') } - let(:object) { described_class.new } + let(:visitable) { double('handled object') } + let(:object) { described_class.new } specify { expect { subject }.to raise_error(NotImplementedError, "#{described_class}#visit must be implemented") } end