test/test_ssl_verify.rb in fluent-plugin-scalyr-0.8.17 vs test/test_ssl_verify.rb in fluent-plugin-scalyr-0.8.18

- old
+ new

@@ -15,10 +15,11 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +require "fileutils" require "helper" require "flexmock/test_unit" class SSLVerifyTest < Scalyr::ScalyrOutTest def test_good_ssl_certificates @@ -50,10 +51,10 @@ logger.should_receive(:warn).once.with(/discarding buffer/i) end end def test_bad_ssl_certificates - d = create_driver CONFIG + "ssl_ca_bundle_path /home/invalid" + d = create_driver CONFIG + "ssl_ca_bundle_path #{File.join(File.dirname(__FILE__), 'bad_ca_cert.crt')}" d.run(default_tag: "test") do time = event_time("2015-04-01 10:00:00 UTC") d.feed(time, {"a" => 1})