Permalink
Browse files

stubbing configuration is bad news - stop it

  • Loading branch information...
1 parent cca4f0e commit c64079e97fe9ce9a249aaec07171cc1674c8244d @dchelimsky dchelimsky committed Jun 2, 2010
Showing with 0 additions and 6 deletions.
  1. +0 −6 spec/rspec/core/runner_spec.rb
@@ -2,12 +2,7 @@
module RSpec::Core
describe Runner do
- before do
- RSpec.stub(:configuration).and_return(RSpec::Core::Configuration.new)
- end
-
describe 'at_exit' do
-
it 'sets an at_exit hook if none is already set' do
RSpec::Core::Runner.stub(:installed_at_exit?).and_return(false)
RSpec::Core::Runner.stub(:running_in_drb?).and_return(false)
@@ -21,7 +16,6 @@ module RSpec::Core
RSpec::Core::Runner.should_receive(:at_exit).never
RSpec::Core::Runner.autorun
end
-
end
describe "#run" do

0 comments on commit c64079e

Please sign in to comment.