lets not fail in order random

This commit is contained in:
Sam 2013-06-21 18:20:33 +10:00
parent 456cff17f8
commit 251aca3b00
1 changed files with 1 additions and 7 deletions

View File

@ -32,16 +32,10 @@ describe Archetype do
context 'register an archetype' do
before do
it 'has one more element' do
@list = Archetype.list.dup
Archetype.register('glados')
end
it 'has one more element' do
Archetype.list.size.should == @list.size + 1
end
it 'has a glados element' do
Archetype.list.find {|a| a.id == 'glados'}.should be_present
end