spec/relaton/registry_spec.rb in relaton-1.18.2 vs spec/relaton/registry_spec.rb in relaton-1.19.0
- old
+ new
@@ -2,11 +2,11 @@
before { Relaton.instance_variable_set :@configuration, nil }
it "outputs backend not present" do
stub_const "Relaton::Registry::SUPPORTED_GEMS", ["not_supported_gem"]
expect { Relaton::Registry.clone.instance }.to output(
- /backend not_supported_gem not present/,
- ).to_stderr
+ /\[relaton\] ERROR: backend not_supported_gem not present/,
+ ).to_stderr_from_any_process
end
it "finds ISO processor" do
expect(Relaton::Registry.instance.find_processor("relaton_iso"))
.to be_instance_of RelatonIso::Processor