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