Sha256: 9a9d3a73d545515edcd6c4b718e93aebc1e689b225ff2a3a79f0eed4dcbbafe9
Contents?: true
Size: 566 Bytes
Versions: 37
Compression:
Stored size: 566 Bytes
Contents
require "helper" require "simplecov/formatter/multi_formatter" describe SimpleCov::Formatter::MultiFormatter do describe ".[]" do # Regression test for https://github.com/colszowka/simplecov/issues/428 it "constructs a formatter with multiple children" do # Silence deprecation warnings. allow(described_class).to receive(:warn) children = [ SimpleCov::Formatter::SimpleFormatter, SimpleCov::Formatter::SimpleFormatter, ] expect(described_class[*children].new.formatters).to eq(children) end end end
Version data entries
37 entries across 37 versions & 10 rubygems