spec/teaspoon/runner_spec.rb in teaspoon-0.7.4 vs spec/teaspoon/runner_spec.rb in teaspoon-0.7.5

- old
+ new

@@ -29,10 +29,10 @@ expect(subject.suppress_logs?).to be(true) end it "asks each formatter if it needs to suppress logs" do Teaspoon.configuration.should_receive(:suppress_log).and_return(false) - subject.formatters = [mock(suppress_logs?: true)] + subject.formatters = [double(suppress_logs?: true)] expect(subject.suppress_logs?).to be(true) end it "memoizes" do Teaspoon.configuration.should_not_receive(:suppress_log)