spec/utility_spec.rb in sinatra_resource-0.4.21 vs spec/utility_spec.rb in sinatra_resource-0.4.22
- old
+ new
@@ -1,16 +1,16 @@
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