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

Version Path
middleman-presentation-core-0.17.7 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.17.6 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.17.5 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.17.2 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.17.1 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.17.0 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.3 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.2 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.0 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.0.rc2 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.0.rc1 spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.0.beta spec/transformers/sort_slides_spec.rb
middleman-presentation-core-0.16.0.alpha spec/transformers/sort_slides_spec.rb
middleman-presentation-0.15.8 spec/transformers/sort_slides_spec.rb
middleman-presentation-0.15.7 spec/transformers/sort_slides_spec.rb
middleman-presentation-0.15.6 spec/transformers/sort_slides_spec.rb
middleman-presentation-0.15.5 spec/transformers/sort_slides_spec.rb