Sha256: 42b009d285a531bdcad207e93cf3b8171a957dea15b238d82432779e4fcd09a1
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class RenderingTest < Minitest::Test include Jekyll::Diagrams::Errors include Jekyll::Diagrams::Rendering def test_raise_command_not_found_error assert_raises CommandNotFoundError do render_with_command('not_exist_command') end end def test_raise_rendering_failed_error assert_raises RenderingFailedError do render_with_command('/bin/bash -c "exit 1"') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-diagrams-0.9.3 | test/rendering_test.rb |