Sha256: 9f4faf984aed6d2914663990d93c985811240fcd812b80db688f7874ec10450b
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../lib/utility') describe "Helpers" do describe "underscore" do it "Source" do SinatraResource::Utility.underscore("Source").should == "source" end it "SourceGroup" do SinatraResource::Utility.underscore("SourceGroup").should == "source_group" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sinatra_resource-0.4.24 | spec/utility_spec.rb |
sinatra_resource-0.4.23 | spec/utility_spec.rb |
sinatra_resource-0.4.22 | spec/utility_spec.rb |