spec/unit/lib/itamae/resource_spec.rb in itamae-1.2.4 vs spec/unit/lib/itamae/resource_spec.rb in itamae-1.2.5

- old
+ new

@@ -1,16 +1,8 @@ require 'spec_helper' module Itamae describe Resource 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 - describe ".parse_description" do context "with valid description" do it "returns type and name" do expect(described_class.parse_description("this-is_type[this-is_name]")). to eq(["this-is_type", "this-is_name"])