Sha256: 3254da8f4456331b66204381af93492bcbc9a3f69047ef4f6915fe2a42c60e23
Contents?: true
Size: 298 Bytes
Versions: 3
Compression:
Stored size: 298 Bytes
Contents
require 'spec_helper' require 'extensions/string' describe "string extensions" do it "should pluralize and to sym a string" do expect("apple".pluralize_to_sym).to eql :apples end it "should variablize words with spaces" do expect("foo - BAR".variablize).to eql 'foo_bar' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
taza-2.1.0 | spec/taza/string_spec.rb |
taza-2.0 | spec/taza/string_spec.rb |
taza-1.0 | spec/taza/string_spec.rb |