Sha256: 2862e82ff0a4a50c7c029e45c641b326a0428d91f455f48110a083947390dac9

Contents?: true

Size: 296 Bytes

Versions: 12

Compression:

Stored size: 296 Bytes

Contents

# encoding: utf-8

shared_examples 'IceNine::Freezer::Range.deep_freeze' do
  it_behaves_like 'IceNine::Freezer::Object.deep_freeze'

  it 'freeze the first element' do
    expect(subject.begin).to be_frozen
  end

  it 'freeze the last element' do
    expect(subject.end).to be_frozen
  end
end

Version data entries

12 entries across 10 versions & 4 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb
ice_nine-0.11.2 spec/shared/range_deep_freeze.rb
ice_nine-0.11.1 spec/shared/range_deep_freeze.rb
ice_nine-0.11.0 spec/shared/range_deep_freeze_shared_spec.rb