Sha256: 992fba661064fec4684d29d9001374f8a54f3b6aea9bb9dde883141a8fb75491

Contents?: true

Size: 216 Bytes

Versions: 2

Compression:

Stored size: 216 Bytes

Contents

require 'spec_helper'

describe Object do

  describe '#not_a?' do
    it 'should be in the inverse of #is_a?' do
      object = Hash.new
      object.not_a?(Hash).should_not == object.is_a?(Hash)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
memory_model-0.0.2 spec/memory_model/core_ext/object_spec.rb
memory_model-0.0.1 spec/memory_model/core_ext/object_spec.rb