Sha256: 5bd328795249d02263ba65cdd1291113a177e1f2b5a0d1f766612b188e546233
Contents?: true
Size: 652 Bytes
Versions: 1
Compression:
Stored size: 652 Bytes
Contents
require 'spec_helper' describe Marksman::Presentation do context 'equality' do it 'should return true if presentation is equal' do expect(Marksman::Presentation.new({filename: 'example.md'})).to eq(Marksman::Presentation.new({filename: 'example.md'})) end it 'should return false if the presentation is not equal' do expect(Marksman::Presentation.new({filename: 'example.md'})).not_to eq(Marksman::Presentation.new({})) end end context 'title' do it 'should return the title' do expect(Marksman::Presentation.new({metadata: {title: 'Example Title'}}).title).to eq('Example Title') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marksman-0.1 | spec/marksman/presentation_spec.rb |