spec/extensions/string_spec.rb in ronin-0.2.1 vs spec/extensions/string_spec.rb in ronin-0.2.2

- old
+ new

@@ -1,19 +1,9 @@ require 'ronin/extensions/string' require 'spec_helper' describe String do - describe "to_method_name" do - it "should be able to convert proper names to method names" do - "Proper Name".to_method_name.should == 'proper_name' - end - - it "should be able to convert Class names to method names" do - "Namespace::Test".to_method_name.should == 'namespace_test' - end - end - describe "common_prefix" do it "should find the common prefix between two Strings" do one = 'What is puzzling you is the nature of my game' two = 'What is puzzling you is the nature of my name' common = 'What is puzzling you is the nature of my '