Sha256: 93341e76896a3d7adeb342a04f483e2ced6cb204d1cabf7424d2bcb53cb3c75e
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe "Flexi Record Field" do it "Create from API data" do data = { "field" => "f_1", "name" => "Field Name", "width" => "150", "editable" => true } field = Osm::FlexiRecordField.from_api(data) field.id.should == 'f_1' field.name.should == 'Field Name' field.editable.should be_true field.valid?.should be_true end end
Version data entries
7 entries across 7 versions & 1 rubygems