Sha256: ce9a6449a30289ad730d6ec5563d2cbda1691279e3889022797b3f1c2fa9fbc1

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe SQL::Generator::Visitor, '#visit' do
  subject { object.visit(visitable) }

  let(:visitable) { mock('handled object') }
  let(:object)    { described_class.new    }

  specify { expect { subject }.to raise_error(NotImplementedError, "#{described_class}#visit must be implemented") }
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
axiom-sql-generator-0.1.0 spec/unit/axiom/sql/generator/visitor/visit_spec.rb
veritas-sql-generator-0.0.7 spec/unit/veritas/sql/generator/visitor/visit_spec.rb
veritas-sql-generator-0.0.6 spec/unit/veritas/sql/generator/visitor/visit_spec.rb
veritas-sql-generator-0.0.5 spec/unit/veritas/sql/generator/visitor/visit_spec.rb
veritas-sql-generator-0.0.4 spec/unit/veritas/sql/generator/visitor/visit_spec.rb
veritas-sql-generator-0.0.3 spec/unit/veritas/sql/generator/visitor/visit_spec.rb