Sha256: b6eb9c6be87f34e485a86bc6ec6d6a4ff12b5c925c62575559201bdc09c4b0af
Contents?: true
Size: 530 Bytes
Versions: 2
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' RSpec.describe 'Integration Tests' do subject(:document) { Mastalk::Document.new(content) } context 'when parsing duplicated snippets' do let(:content) do File.read(File.join('spec', 'fixtures', 'duplicated_snippets')) end let(:expected_result) do File.read( File.join('spec', 'fixtures', 'expected_conversion_duplicated_snippets') ) end it 'converts to html using the snippets' do expect(document.to_html).to eq(expected_result) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mastalk-0.9.1 | spec/integration/conversion_spec.rb |
mastalk-0.9.0 | spec/integration/conversion_spec.rb |