Sha256: ed99aa1701520c51761ceca56ce855beedeb4b1a621c55905922de6e7fe1099f

Contents?: true

Size: 817 Bytes

Versions: 79

Compression:

Stored size: 817 Bytes

Contents

# Copyright (C) 2011 RightScale, Inc, All Rights Reserved Worldwide.
#
# THIS PROGRAM IS CONFIDENTIAL AND PROPRIETARY TO RIGHTSCALE
# AND CONSTITUTES A VALUABLE TRADE SECRET. Any unauthorized use,
# reproduction, modification, or disclosure of this program is
# strictly prohibited. Any use of this program by an authorized
# licensee is strictly subject to the terms and conditions,
# including confidentiality obligations, set forth in the applicable
# License Agreement between RightScale.com, Inc. and
# the licensee

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))

describe RightConf::StdoutReporter do

  it 'should write to STDOUT' do
    reporter = RightConf::StdoutReporter.new
    flexmock($stdout).should_receive(:print).with("42\n")
    reporter.report('42')
  end

end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
rconf-0.8.13 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.12 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.11 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.10 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.9 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.8 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.5 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.4 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.3 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.2 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.1 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.8.0 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.15 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.13 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.12 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.11 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.10 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.9 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.8 spec/progress_reporters/stdout_reporter_spec.rb
rconf-0.7.6 spec/progress_reporters/stdout_reporter_spec.rb