Sha256: 3bd3867ea42d165b99186a8df6f91fdb78d3d78405e98a28650ba67b7a38f023
Contents?: true
Size: 453 Bytes
Versions: 17
Compression:
Stored size: 453 Bytes
Contents
RSpec.describe LessonsIndexer::Collections::LessonsList do subject { sample_lessons } context "#list" do it "should respond to #each" do expect(subject).to respond_to(:each) end it "should be sorted properly" do sorted_lessons = subject.sort %w(1.3 2.5 5.8 10.2).each_with_index do |version, index| expect(sorted_lessons[index].file_name).to eq "lesson#{version}.md" end end end end
Version data entries
17 entries across 17 versions & 1 rubygems