Sha256: 748ca28bd561ec244d035a7368f73cdcba5aed897cb39182250a8e969402a021
Contents?: true
Size: 836 Bytes
Versions: 1
Compression:
Stored size: 836 Bytes
Contents
require 'spec_helper' describe RSpec::Core::Runner do describe 'reporter' do it 'should return the configured formatter' do RSpec::Core::Runner.new.reporter.should == RSpec.configuration.formatter end end describe 'at_exit' do it 'should set an at_exit hook if none is already set' do RSpec::Core::Runner.stub!(:installed_at_exit?).and_return(false) RSpec::Core::Runner.should_receive(:at_exit) RSpec::Core::Runner.autorun end it 'should not set the at_exit hook if it is already set' do RSpec::Core::Runner.stub!(:installed_at_exit?).and_return(true) RSpec::Core::Runner.should_receive(:at_exit).never RSpec::Core::Runner.autorun end end describe 'placeholder' do # it "should " # RSpec::Core::Runner.new end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-core-2.0.0.beta.9 | spec/rspec/core/runner_spec.rb |