Sha256: 6ac60c3d90e0316543ce7bf87d752eaa51383c52a52f3185a764b83637b8d213
Contents?: true
Size: 579 Bytes
Versions: 204
Compression:
Stored size: 579 Bytes
Contents
describe Appsignal::Extension, :extension_installation_failure do context "when the extension library cannot be loaded" do it "prints and logs an error" do require "open3" _stdout, stderr, _status = Open3.capture3("bin/appsignal --version") expect(stderr).to include("ERROR: AppSignal failed to load extension") error_message = if DependencyHelper.running_jruby? "cannot open shared object file" else "LoadError: cannot load such file" end expect(stderr).to include(error_message) end end end
Version data entries
204 entries across 204 versions & 1 rubygems