Sha256: 9e9d5f8254e53051614ae3e70872e834e9c8c35bb558ddfd1998b4ed1f9c1ab8
Contents?: true
Size: 429 Bytes
Versions: 4
Compression:
Stored size: 429 Bytes
Contents
require 'spec_helper' describe Daigaku::Loading::Chapters do let(:subjects) { Daigaku::Loading::Chapters.load(course_dirs.first) } it 'has the prescribed number of chapters' do expect(subjects.count).to eq available_chapters(course_dirs.first).count end it 'loads the available chapters' do subjects.each_with_index do |chapter, index| expect(chapter.title).to eq chapter_titles[index] end end end
Version data entries
4 entries across 4 versions & 1 rubygems