Sha256: a8279b0b647d3f81585058238bfc32cb99aa29eeb15de4ffe755a9e591d69bb8

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

# encoding: utf-8

require 'spec_helper'
require File.expand_path('../../fixtures/classes', __FILE__)

describe Immutable::ClassMethods, '#new' do
  subject { object.new }

  let(:object) { ImmutableSpecs::Object }

  it { should be_kind_of(object) }

  it { should be_frozen }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/immutable/class_methods/new_spec.rb