Sha256: 774460fbc1693cbb12224437f5707ac3c22b466021e7c82bf8545044aa9ed7cf
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true # {{camel command.name}}: {{command.function_description}} RSpec.describe Funcky::{{camel command.category}}::{{camel command.name}} do let(:instance) { described_class.new } describe 'initialize' do subject { instance } it { is_expected.not_to be_nil } end describe '#parse' do subject { instance.parse(value) } let(:value) { nil } context 'safely handle nil' do it { is_expected.to eq('') } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cmdlet-0.0.7 | .builders/.templates/command_spec.rb |