Sha256: 594b71f4cc23eefdf4450a15f577d40ad467e8a0a61537c2be8806e8c9988439

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

require 'spec_helper'

module Lightchef
  describe Resources do
    describe "#get_resource_class_name" do
      let(:method) { :foo_bar_baz }
      it "returns camel-cased string" do
        expect(described_class.get_resource_class_name(method)).
          to eq("FooBarBaz")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lightchef-0.0.2 spec/lib/lightchef/resources_spec.rb
lightchef-0.0.1 spec/lib/lightchef/resources_spec.rb