Sha256: 706b84b06acd7eab9691e4e8d3e03450e701858d15dd23c3de3ffc7e32c4b2f9

Contents?: true

Size: 336 Bytes

Versions: 30

Compression:

Stored size: 336 Bytes

Contents

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

include V8

describe V8::To do
  
  it "can convert into perl case" do
    To.perl_case("foo").should == "foo"
    To.perl_case("fooBar").should == "foo_bar"
    To.perl_case("fooBarBaz").should == "foo_bar_baz"
    To.perl_case("XMLDocument").should == "xml_document"
  end
  
  
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
therubyracer-0.6.3 spec/v8/to_spec.rb
therubyracer-0.6.2 spec/v8/to_spec.rb
therubyracer-0.6.1 spec/v8/to_spec.rb
therubyracer-0.6.0 spec/v8/to_spec.rb
therubyracer-0.5.5 spec/v8/to_spec.rb
therubyracer-0.5.4 spec/v8/to_spec.rb
therubyracer-0.5.3 spec/v8/to_spec.rb
therubyracer-0.5.2-x86-darwin-10 spec/v8/to_spec.rb
therubyracer-0.5.2 spec/v8/to_spec.rb
therubyracer-0.5.1-x86-darwin-9 spec/v8/to_spec.rb
therubyracer-0.5.1-x86-darwin-10 spec/v8/to_spec.rb
therubyracer-0.5.1 spec/v8/to_spec.rb
therubyracer-0.5.0-x86-darwin-9 spec/v8/to_spec.rb
therubyracer-0.5.0-x86-linux spec/v8/to_spec.rb
therubyracer-0.5.0-x86_64-linux spec/v8/to_spec.rb
therubyracer-0.4.9-x86_64-linux spec/v8/to_spec.rb
therubyracer-0.5.0-x86-darwin-10 spec/v8/to_spec.rb
therubyracer-0.5.0 spec/v8/to_spec.rb
therubyracer-0.4.9-x86-linux spec/v8/to_spec.rb
therubyracer-0.4.9-x86-darwin-10 spec/v8/to_spec.rb