Sha256: 4cbe92f10d0a9877fd4f37486ab0c63cd949c3c6f0e22fc9a9830ac9d5a83774

Contents?: true

Size: 617 Bytes

Versions: 14

Compression:

Stored size: 617 Bytes

Contents

require 'test_helper'

module Vedeu

  describe InterfacesRepository do

    let(:described) { Vedeu::InterfacesRepository }

    describe '#zindexed' do
      before do
        @hydrogen = Vedeu.interface 'hydrogen' do
          zindex 2
        end
        @helium = Vedeu.interface 'helium' do
          zindex 3
        end
        @lithium = Vedeu.interface 'lithium' do
          zindex 1
        end
      end
      after { Vedeu.interfaces.reset }

      subject { Vedeu.interfaces.zindexed }

      it { subject.must_equal([@lithium, @hydrogen, @helium]) }
    end

  end # InterfacesRepository

end # Vedeu

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vedeu-0.4.40 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.39 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.38 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.37 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.36 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.35 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.34 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.33 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.32 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.31 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.30 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.29 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.28 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb
vedeu-0.4.27 test/lib/vedeu/repositories/repositories/interfaces_repositories_test.rb