Sha256: b95f156792ffa2dc2e9e39007490bae5e3093ec0b5954dc40667ffb1da2f9fd3

Contents?: true

Size: 360 Bytes

Versions: 15

Compression:

Stored size: 360 Bytes

Contents

require 'spec_helper'

module CiteProc
  describe Engine do

    it 'cannot be instantiated' do
      lambda { Engine.new }.should raise_error(NoMethodError)
    end
    
    describe 'subclasses' do
      let(:subject) { Class.new(Engine).new }

      it 'can be instantiated' do
        subject.should_not be nil
      end
            
    end
    
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
citeproc-1.0.0.pre12 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre11 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre10 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre9 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre8 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre7 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre6 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre5 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre4 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre3 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre2 spec/citeproc/engine_spec.rb
citeproc-1.0.0.pre1 spec/citeproc/engine_spec.rb
citeproc-0.0.9 spec/citeproc/engine_spec.rb
citeproc-0.0.8 spec/citeproc/engine_spec.rb
citeproc-0.0.6 spec/citeproc/engine_spec.rb