Sha256: b679b63db0043b77e853fc7dc22b12a27de8caf01e1be1045dfd958dd11e3543
Contents?: true
Size: 340 Bytes
Versions: 2
Compression:
Stored size: 340 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
citeproc-1.0.1 | spec/citeproc/engine_spec.rb |
citeproc-1.0.0 | spec/citeproc/engine_spec.rb |