Sha256: c1bd5875756929c51b2a688c8e9436b0feb5ceac5a1883898417bcf72249cc28
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
require File.join(File.dirname(__FILE__) , 'spec_helper') require 'util' describe 'utilities' do it 'can change camelcase str to snakecase' do snake_case('CamelCaseStr').should == 'camel_case_str' end it 'can read file and get file data to string' do script_body = 'This is a script body.' @script = create_tmp_script(script_body) read_file(@script).should == script_body end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hadoop-rubydsl-0.0.2 | spec/util_spec.rb |
hadoop-rubydsl-0.0.1 | spec/util_spec.rb |