Sha256: 93524b156b482f4ec9e24119f082bdf685fea9c89644dd1cddf6072461da61e6

Contents?: true

Size: 288 Bytes

Versions: 13

Compression:

Stored size: 288 Bytes

Contents

# encoding: utf-8

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

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

  let(:object) { AdamantiumSpecs::Object }

  it { should be_instance_of(object) }

  it { should be_frozen }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
adamantium-0.2.0 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.1.0 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.11 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.10 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.9 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.8 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.7 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.6 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.5 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.4 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.3 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.2 spec/unit/adamantium/class_methods/new_spec.rb
adamantium-0.0.1 spec/unit/adamantium/class_methods/new_spec.rb