Module: RSpecFixtures

Defined in:
lib/rspec_fixtures/stream.rb,
lib/rspec_fixtures/version.rb,
lib/rspec_fixtures/matchers/base.rb,
lib/rspec_fixtures/approval_handler.rb,
lib/rspec_fixtures/module_functions.rb,
lib/rspec_fixtures/matchers/match_fixture.rb,
lib/rspec_fixtures/matchers/raise_fixture.rb,
lib/rspec_fixtures/matchers/output_fixture.rb

Defined Under Namespace

Modules: Matchers, Stream Classes: ApprovalHandler

Constant Summary collapse

VERSION =
"0.7.5"

Class Method Summary collapse

Class Method Details

.stderrObject



7
8
9
# File 'lib/rspec_fixtures/module_functions.rb', line 7

def stderr
  @stderr ||= StringIO.new
end

.stdoutObject



3
4
5
# File 'lib/rspec_fixtures/module_functions.rb', line 3

def stdout
  @stdout ||= StringIO.new
end