spec/spec_helper.rb in slosilo-2.2.1 vs spec/spec_helper.rb in slosilo-2.2.2
- old
+ new
@@ -1,6 +1,9 @@
require "simplecov"
+require "simplecov-cobertura"
+
+SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
SimpleCov.start
require 'slosilo'
shared_context "with mock adapter" do
@@ -72,10 +75,10 @@
X2nOMv/TdLP7mvGnwCt/sQ2626DdiNqimekyBki9J2r6BzBNVmEvnLAcYaQAiQYz
ooQ2FuL0K6ukQfHPjuMswqi41lmVH8gIVqVC+QnImUCrGxH9WXWy
-----END RSA PRIVATE KEY-----
"""
end
-
+
def self.mock_own_key
before { allow(Slosilo).to receive(:[]).with(:own).and_return key }
end
end