spec/models/reactive_value_spec.rb in volt-0.5.18 vs spec/models/reactive_value_spec.rb in volt-0.6.0

- old
+ new

@@ -342,6 +342,12 @@ end.cur expect(count).to eq(2) end end + + it "should give you back the object without any ReactiveValue's if you call .deep_cur on it." do + a = ReactiveValue.new({_names: [ReactiveValue.new('bob'), ReactiveValue.new('jim')]}) + + expect(a.deep_cur).to eq({_names: ['bob', 'jim']}) + end end \ No newline at end of file