Sha256: 8a61762dd612b960114bfc1222bf39f3161c8328a9298d05a89eb54e185c097d

Contents?: true

Size: 365 Bytes

Versions: 115

Compression:

Stored size: 365 Bytes

Contents

require 'test/test_helper'
require 'test/minitest_helper'
require 'fakes3/cli'


class CLITest < Test::Unit::TestCase
  def setup
    super
    FakeS3::Server.any_instance.stubs(:serve)
  end

  def test_quiet_mode
    script = FakeS3::CLI.new([], :root => '.', :port => 4567, :quiet => true)
    assert_output('') do
      script.invoke(:server)
    end
  end
end

Version data entries

115 entries across 115 versions & 23 rubygems

Version Path
fakes3as4-1.2.0 test/cli_test.rb
fakes3as3-1.2.0 test/cli_test.rb
fakes3as2-1.2.0 test/cli_test.rb
fakes3as-1.2.0 test/cli_test.rb
fakes3-1.2.0 test/cli_test.rb
fakes3-1.1.0 test/cli_test.rb
plntr-fakes3-1.0.0.pre.7 test/cli_test.rb
plntr-fakes3-1.0.0.pre.6 test/cli_test.rb
plntr-fakes3-1.0.0.pre.5 test/cli_test.rb
plntr-fakes3-1.0.0.pre.4 test/cli_test.rb
plntr-fakes3-1.0.0.pre.3 test/cli_test.rb
plntr-fakes3-1.0.0.pre.2 test/cli_test.rb
plntr-fakes3-1.0.0.pre.1 test/cli_test.rb
fakes3-1.0.0 test/cli_test.rb
fakes3-0.2.5 test/cli_test.rb