Sha256: 0c5f0d5391b4942616e2e7d69b24b2ad5aa51c49a90f6b95d65c473c57b07c05
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'open3' describe Space2underscore::Underscore do describe '#convert' do subject { described_class.new(argument).convert } context 'when number of argument is one' do let(:argument) { ['foo bar'] } it { is_expected.to include('_') } end context 'when number of argument is many' do let(:argument) { %w(foo bar) } it { is_expected.to include('_') } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.5.2 | spec/space2underscore/underscore_spec.rb |