Sha256: 8e2cb1c14fdbe56304f7b0c0ad9fe98d43b8c65200ac140463d5f83ac3a128fc

Contents?: true

Size: 448 Bytes

Versions: 15

Compression:

Stored size: 448 Bytes

Contents

require "test_helper"

module Latexpdf
  class LatexpdfTest < Minitest::Test
    def test_be_able_to_configure_passes
      Latexpdf.configure do |config|
        config.passes = 5
      end
      assert_equal 5, Latexpdf.configuration.passes
    end

    def test_be_able_to_configure_a_logger
      Latexpdf.configure do |config|
        config.logger = "test_logger"
      end
      assert_equal "test_logger", Latexpdf.logger
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
latexpdf-0.6.1 test/latexpdf/latexpdf_test.rb
latexpdf-0.6.0 test/latexpdf/latexpdf_test.rb
latexpdf-0.5.1 test/latexpdf/latexpdf_test.rb
latexpdf-0.5.0 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.11 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.10 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.9 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.8 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.7 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.6 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.5 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.4 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.3 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.2 test/latexpdf/latexpdf_test.rb
latexpdf-0.4.1 test/latexpdf/latexpdf_test.rb