Sha256: a9e6bb26fe849a4c8eb08df1931cea81cb5be3d2e14d67009d4802c385d58a6c
Contents?: true
Size: 408 Bytes
Versions: 18
Compression:
Stored size: 408 Bytes
Contents
require 'spec_helper' module QueueClassicPlus describe Inflector do describe ".underscore" do { "foo" => "foo", "Foo" => "foo", "FooBar" => "foo_bar", "Foo::Bar" => "foo/bar" }.each do |word, expected| it "converst #{word} to #{expected}" do expect(described_class.underscore(word)).to eq(expected) end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems