Sha256: b7cf84a50e768a8a722c77912aa9bb61fd3fd99172c349b4ec80c19fdc2303b6
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
# encoding: utf-8 require 'helper' class Nanoc::Filters::NBConvertTest < Minitest::Test def test_filter # Create filter filter = ::Nanoc::Filters::NBConvert.new # Run filter fh = File.open(File.expand_path("../../data/example.html", __FILE__)) expected = fh.read File.open(File.expand_path("../../data/example.ipynb", __FILE__)) {|f| content = f.read assert_match(expected.strip, filter.run(content).strip) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-nbconvert-0.1.1 | test/filters/test_nbconvert.rb |
nanoc-nbconvert-0.1.0 | test/filters/test_nbconvert.rb |