Sha256: 8385e973a97a81d449bb3814baee34f36a8f4154b29218f2caa86cf3e80e4049

Contents?: true

Size: 340 Bytes

Versions: 6

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

module CiteProc
  describe Engine do

    it 'cannot be instantiated' do
      expect { Engine.new }.to raise_error(NoMethodError)
    end

    describe 'subclasses' do
      let(:subject) { Class.new(Engine).new }

      it 'can be instantiated' do
        expect(subject).not_to be nil
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
citeproc-1.0.7 spec/citeproc/engine_spec.rb
citeproc-1.0.6 spec/citeproc/engine_spec.rb
citeproc-1.0.5 spec/citeproc/engine_spec.rb
citeproc-1.0.4 spec/citeproc/engine_spec.rb
citeproc-1.0.3 spec/citeproc/engine_spec.rb
citeproc-1.0.2 spec/citeproc/engine_spec.rb