Merge pull request #667 from mbj/fix/rspec-warnings
Fix rspec warning about ordered stubs
This commit is contained in:
commit
0724ee93a1
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue