Sha256: 8f4b956f5c1344d7de5866d35555fa666b77f31f0e0bce979b54c5fc1756223e

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 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, :license => 'test', :quiet => true)
    assert_output('') do
      script.invoke(:server)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fakes3-2.0.0 test/cli_test.rb
fakes3-1.3.1 test/cli_test.rb
fakes3-1.3.0 test/cli_test.rb