Sha256: 6ece172b68b2a269450ab3f5fbede31159c32fc5f5828a4c5c65d7934ec62bcd
Contents?: true
Size: 421 Bytes
Versions: 11
Compression:
Stored size: 421 Bytes
Contents
require File.dirname(__FILE__) + '/../model/form' require File.dirname(__FILE__) + '/../model/field' describe Form do it 'should update the value of a field on the form' do form = Form.new(:blah => "") form.update(:blah => "foo") form[:blah].should eql("foo") end it 'should find the value of a field in the form' do form = Form.new(:blah => "foo") form[:blah].should eql("foo") end end
Version data entries
11 entries across 11 versions & 2 rubygems