Sha256: 2a61a82a74652f28fb613fbfe220531807abf0e108beb73f3f3d0a27849f4669

Contents?: true

Size: 290 Bytes

Versions: 4

Compression:

Stored size: 290 Bytes

Contents

require './test/test_helper'
require 'zoro/field_name'

describe Zoro::FieldName do 
  it "generates a good field name from a symbol" do
    Zoro::FieldName.make_field("foo_bar_one").must_equal "Foo Bar One"
    Zoro::FieldName.make_field("foo_bar_two=").must_equal "Foo Bar Two"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zoro-0.0.5 test/zoro/field_name_test.rb
zoro-0.0.4 test/zoro/field_name_test.rb
zoro-0.0.3 test/zoro/field_name_test.rb
zoro-0.0.2 test/zoro/field_name_test.rb