Sha256: 413a246ff0e3e73c0738f546f8db7a4d037571e7e84fd4b75621f019d14ce3ca
Contents?: true
Size: 414 Bytes
Versions: 7
Compression:
Stored size: 414 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
7 entries across 7 versions & 1 rubygems