Sha256: 9a2f9b179a6a379db6562b555c318810520d98e61de0b109da944ee961b00c32
Contents?: true
Size: 836 Bytes
Versions: 5
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
5 entries across 5 versions & 1 rubygems