Sha256: 1e9102e3c1495783a826cee3b2900865f4c203bf3046434cc8599284a592a38b

Contents?: true

Size: 204 Bytes

Versions: 4

Compression:

Stored size: 204 Bytes

Contents

require 'spec_helper'

describe ValueStruct::Freeze do
  subject do
    ValueStruct.new_with_mixins(:x, :y, [ValueStruct::Freeze]).new
  end

  it 'freezes new instances' do
    should be_frozen
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
value_struct-0.8.1 spec/freeze_spec.rb
value_struct-0.8.0 spec/freeze_spec.rb
value_struct-0.7.0 spec/freeze_spec.rb
value_struct-0.6.0 spec/freeze_spec.rb