Sha256: f17a4d8b7fb357b5c368c310ba38124742794017fc36a1b8b71036da7a3e2195

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

require 'i18n_flow/cli/help_command'

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

  describe '#invoke!' do
    it 'should print help' do
      expect {
        command.invoke!
      }.to output(/Usage/).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/help_command_spec.rb
i18n_flow-0.2.2 spec/lib/i18n_flow/cli/help_command_spec.rb
i18n_flow-0.2.1 spec/lib/i18n_flow/cli/help_command_spec.rb
i18n_flow-0.2.0 spec/lib/i18n_flow/cli/help_command_spec.rb
i18n_flow-0.1.0 spec/lib/i18n_flow/cli/help_command_spec.rb