Sha256: d24a47a7bb6fe8ae5b5d039b2b1d54c26ec433ed363119928d8dd7c0b15bcffd
Contents?: true
Size: 457 Bytes
Versions: 2
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Space2underscore::Printer do let(:branch) { 'FOO_bar' } describe '#run_with_raw' do subject { -> { described_class.instance.run_with_raw(branch) } } it { is_expected.to output(/FOO_bar/).to_stdout } end describe '#run_with_downcase' do subject { -> { described_class.instance.run_with_downcase(branch) } } it { is_expected.to output(/foo_bar/).to_stdout } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.5.3 | spec/space2underscore/printer_spec.rb |
space2underscore-0.5.2 | spec/space2underscore/printer_spec.rb |