Sha256: 3a67bc7ecb5ea8558eeefe97c3ebc9419d4e1717ffa80e8b5e3be5e27e9b5017
Contents?: true
Size: 357 Bytes
Versions: 17
Compression:
Stored size: 357 Bytes
Contents
# encoding: utf-8 require 'spec_helper' RSpec.describe Transformers::SortSlides do context '#transform' do it 'sorts slides' do slides = [] slides << 1 slides << 3 slides << 2 slides = Transformers::SortSlides.new.transform(slides) expect(slides.first).to eq 1 expect(slides.last).to eq 3 end end end
Version data entries
17 entries across 17 versions & 2 rubygems