Sha256: 8ff7f8686b7fab73f6dc426d9190bfe93ab95ea5bf0137d07551724da49dcaae

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper.rb'

describe "String" do
  it "can turn itself into a symbol" do
    "This Is a Test, Yo".symbolize.should == :this_is_a_test_yo
  end
end

describe "Symbol" do
  it "can turn itself into a titleized string" do
    :hello_darling.titleize.should == "Hello Darling"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
etapper-0.0.2 spec/core_ext_spec.rb
etapper-0.0.1 spec/core_ext_spec.rb
etapper-0.0.0 spec/core_ext_spec.rb