Sha256: bdefed4a070866956e4204fc4b0844a9978bce901f6878535e696b9572c374c2
Contents?: true
Size: 691 Bytes
Versions: 6
Compression:
Stored size: 691 Bytes
Contents
require_relative '../../../test_helper' require_relative '../../../../lib/vedeu/models/presentation' module Vedeu class TestPresentation include Presentation end describe Presentation do let(:presentation) { TestPresentation.new({ colour: { foreground: '#ff0000', background: '#333333' }, style: ['bold', 'underline'] }) } describe '#colour' do it 'returns a Colour instance' do presentation.colour.must_be_instance_of(Colour) end end describe '#style' do it 'has a style attribute' do presentation.style.must_equal(['bold', 'underline']) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems