Sha256: 7190c6bed351d175e647b404b66d47e47e07c25ae437a44dd06f923b6018c3fc

Contents?: true

Size: 217 Bytes

Versions: 20

Compression:

Stored size: 217 Bytes

Contents

require 'spec_helper'

describe Volt::ReactiveHash do
  it 'should clear' do
    a = Volt::ReactiveHash.new
    a[:name] = 'Bob'

    expect(a[:name]).to eq('Bob')
    a.clear
    expect(a[:name]).to eq(nil)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
volt-0.9.1 spec/reactive/reactive_hash_spec.rb
volt-0.9.1.pre5 spec/reactive/reactive_hash_spec.rb
volt-0.9.1.pre4 spec/reactive/reactive_hash_spec.rb
volt-0.9.1.pre3 spec/reactive/reactive_hash_spec.rb
volt-0.9.1.pre2 spec/reactive/reactive_hash_spec.rb
volt-0.9.1.pre1 spec/reactive/reactive_hash_spec.rb
volt-0.9.0 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre7 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre6 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre5 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre4 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre3 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre2 spec/reactive/reactive_hash_spec.rb
volt-0.9.0.pre1 spec/reactive/reactive_hash_spec.rb
volt-0.8.27.beta9 spec/reactive/reactive_hash_spec.rb
volt-0.8.27.beta8 spec/reactive/reactive_hash_spec.rb
volt-0.8.27.beta7 spec/reactive/reactive_hash_spec.rb
volt-0.8.27.beta6 spec/reactive/reactive_hash_spec.rb
volt-0.8.27.beta5 spec/reactive/reactive_hash_spec.rb
volt-0.8.27.beta4 spec/reactive/reactive_hash_spec.rb