Sha256: 5af103477d8dc19a8707c9dabda70d0b09236fe563ec5a8b6234cfcc185e21ff

Contents?: true

Size: 306 Bytes

Versions: 6

Compression:

Stored size: 306 Bytes

Contents

require 'spec_helper'

describe "Extensions" do
  context "DocumentNotValid" do
    it "should have document reader method" do
      doc_class = Doc()
      instance  = doc_class.new
      exception = MarkMapper::DocumentNotValid.new(instance)
      exception.document.should == instance
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mark_mapper-0.0.6 spec/unit/exceptions_spec.rb
mark_mapper-0.0.5 spec/unit/exceptions_spec.rb
mark_mapper-0.0.4 spec/unit/exceptions_spec.rb
mark_mapper-0.0.3 spec/unit/exceptions_spec.rb
mark_mapper-0.0.2 spec/unit/exceptions_spec.rb
mark_mapper-0.0.1 spec/unit/exceptions_spec.rb