Sha256: 6706ffa15ed0535e30f8e8ee7640bf013ef8204edd032b470425104c736640ba
Contents?: true
Size: 638 Bytes
Versions: 20
Compression:
Stored size: 638 Bytes
Contents
require 'test_helper' module Vedeu describe Interfaces do let(:described) { Vedeu::Interfaces } it { described.must_respond_to(:interfaces) } 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 # Interfaces end # Vedeu
Version data entries
20 entries across 20 versions & 1 rubygems