Sha256: 059659c3acec46c8ebca17fa307a34f4210de33baf81df00996a3eabacd878aa

Contents?: true

Size: 306 Bytes

Versions: 5

Compression:

Stored size: 306 Bytes

Contents

require 'i18n_flow/cli/version_command'

describe I18nFlow::CLI::VersionCommand do
  let(:command) { I18nFlow::CLI::VersionCommand.new([]) }

  describe '#invoke!' do
    it 'should print gem version' do
      expect {
        command.invoke!
      }.to output(/v\d+\.\d+.\d+/).to_stdout
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n_flow-0.2.3 spec/lib/i18n_flow/cli/version_command_spec.rb
i18n_flow-0.2.2 spec/lib/i18n_flow/cli/version_command_spec.rb
i18n_flow-0.2.1 spec/lib/i18n_flow/cli/version_command_spec.rb
i18n_flow-0.2.0 spec/lib/i18n_flow/cli/version_command_spec.rb
i18n_flow-0.1.0 spec/lib/i18n_flow/cli/version_command_spec.rb