Sha256: a30ebb445f80d10cfd4259b9829f99d53c3f09af6de96a12db7b9db6ff62cad7
Contents?: true
Size: 844 Bytes
Versions: 4
Compression:
Stored size: 844 Bytes
Contents
require 'spec_helper' describe Rspec::Core::Runner do describe 'formatter' do it 'should return the configured formatter' do Rspec::Core::Runner.new.formatter.should == Rspec::Core.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
4 entries across 4 versions & 1 rubygems