test/renderer_test.rb in bookingit-0.4.1 vs test/renderer_test.rb in bookingit-0.5.0

- old
+ new

@@ -2,11 +2,11 @@ require 'tempfile' require 'fileutils' include FileUtils -class RendererTest < Test::Unit::TestCase +class HtmlRendererTest < Test::Unit::TestCase def setup @tempdir = Dir.mktmpdir end @@ -14,10 +14,10 @@ remove_entry @tempdir end def renderer(options={}) options = OpenStruct.new(:rendering_config => { basedir: @tempdir }.merge(options)) - Bookingit::Renderer.new(options) + Bookingit::HtmlRenderer.new(options) end test_that "block_code can read a file URL and guess ruby" do Given a_file_with_extension(".rb") When render_file_url_code_block