Sha256: bad4150f467a10b54f59ed602e8552de8b89bf4d614a7b03e89afbda4181b078
Contents?: true
Size: 480 Bytes
Versions: 3
Compression:
Stored size: 480 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) module Quickl describe "Naming::command2module /" do include Naming it "should capitalize first char" do command2module("say").should == "Say" command2module(:say).should == :Say end it "should capitalize support dashes" do command2module("say-hello").should == "SayHello" command2module(:"say-hello").should == :SayHello end end # module Quickl end # module Quickl
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.2.2 | spec/naming/command2module_spec.rb |
quickl-0.2.1 | spec/naming/command2module_spec.rb |
quickl-0.1.1 | test/naming/command2module.spec |