Skip to content

Commit

Permalink
dev: stub a valid return value in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jul 24, 2011
1 parent 8f44f46 commit 728814b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec/core/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def run_specs
end

it "builds a CommandLine and runs the specs" do
process_proxy = double(RSpec::Core::CommandLine, :run => true)
process_proxy = double(RSpec::Core::CommandLine, :run => 0)
process_proxy.should_receive(:run).with(err, out)

RSpec::Core::CommandLine.should_receive(:new).and_return(process_proxy)
Expand Down

0 comments on commit 728814b

Please sign in to comment.