Merge pull request #667 from mbj/fix/rspec-warnings

Fix rspec warning about ordered stubs
This commit is contained in:
Markus Schirp 2016-10-17 02:25:41 +00:00 committed by GitHub
commit 0724ee93a1

View file

@ -3,7 +3,7 @@ RSpec.describe Mutant::Reporter::CLI::Tput do
subject { described_class.detect }
def expect_command(command, stdout, success)
allow(Open3).to receive(:capture3).with(command).ordered.and_return(
allow(Open3).to receive(:capture3).with(command).and_return(
[
stdout,
instance_double(IO),