Sha256: d33552d853809a0bb3ec18d03ceda7acf6753af643293ca5de32231d042b1e84
Contents?: true
Size: 586 Bytes
Versions: 9
Compression:
Stored size: 586 Bytes
Contents
describe Forger::Template::Helper::CoreHelper do let(:thing) do thing = Class.new Forger::Template::Helper::CoreHelper.send :public, :normalize_user_data_name_input thing.extend(Forger::Template::Helper::CoreHelper) thing end it 'normalize user_data name input' do result = thing.normalize_user_data_name_input("ecs.sh") expect(result).to eq "ecs.sh" result = thing.normalize_user_data_name_input("ecs") expect(result).to eq "ecs.sh" result = thing.normalize_user_data_name_input("test/ecs") expect(result).to eq "test/ecs.sh" end end
Version data entries
9 entries across 9 versions & 1 rubygems